MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
This commit is contained in:
@@ -26,7 +26,7 @@ define('CLI_SCRIPT', true);
|
||||
|
||||
require __DIR__ . '/../../../../config.php';
|
||||
|
||||
if (!debugging('', DEBUG_DEVELOPER)) {
|
||||
if (!$CFG->debugdeveloper) {
|
||||
die('Only for developers!!!!!');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user