MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
This commit is contained in:
@@ -28,7 +28,7 @@ define('CLI_SCRIPT', true);
|
||||
require(dirname(__FILE__) . '/../../../../config.php');
|
||||
require_once(dirname(__FILE__) . '/../locallib.php');
|
||||
|
||||
if (!debugging('', DEBUG_DEVELOPER)) {
|
||||
if (!$CFG->debugdeveloper) {
|
||||
echo("This script is for developers only!!!\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user