function has_krumo
Same name in other branches
- 7.x-1.x devel.module \has_krumo()
5 calls to has_krumo()
- devel_admin_settings in ./
devel.module - devel_init in ./
devel.module - Implementation of hook_init().
- devel_set_handler in ./
devel.module - kdevel_print_object in ./
devel.module - Print an object or array using either Krumo (if installed) or devel_print_object()
- merits_krumo in ./
devel.module - Decide whether or not to print a debug variable using krumo().
File
-
./
devel.module, line 316
Code
function has_krumo() {
// see README.txt or just download from http://krumo.sourceforge.net/
@(include_once './' . drupal_get_path('module', 'devel') . '/krumo/class.krumo.php');
if (function_exists('krumo') && php_sapi_name() != 'cli') {
return TRUE;
}
else {
return FALSE;
}
}