function devel_silent

Same name in other branches
  1. 7.x-1.x devel.module \devel_silent()
3 calls to devel_silent()
devel_boot in ./devel.module
Implementation of hook_boot(). Runs even for cached pages.
devel_exit in ./devel.module
devel_init in ./devel.module
Implementation of hook_init().

File

./devel.module, line 418

Code

function devel_silent() {
    // isset($_GET['q']) is needed on IIS when calling the front page. q is not set.
    // Don't interfere with private files/images.
    return devel_verify_cli() || isset($GLOBALS['devel_shutdown']) || strstr($_SERVER['PHP_SELF'], 'update.php') || isset($_GET['q']) && (in_array($_GET['q'], array(
        'upload/js',
        'admin/content/node-settings/rebuild',
    )) || substr($_GET['q'], 0, strlen('system/files')) == 'system/files' || substr($_GET['q'], 0, strlen('batch')) == 'batch');
}