Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 31... Línea 31...
31
if (isset($_SERVER['REMOTE_ADDR'])) {
31
if (isset($_SERVER['REMOTE_ADDR'])) {
32
    die; // No access from web!
32
    die; // No access from web!
33
}
33
}
Línea 34... Línea 34...
34
 
34
 
35
// We want to know about all problems.
35
// We want to know about all problems.
36
error_reporting(E_ALL | E_STRICT);
36
error_reporting(E_ALL);
37
ini_set('display_errors', '1');
37
ini_set('display_errors', '1');
Línea 38... Línea 38...
38
ini_set('log_errors', '1');
38
ini_set('log_errors', '1');
39
 
39
 
Línea 89... Línea 89...
89
    /** Execute longer version of tests */
89
    /** Execute longer version of tests */
90
    define('PHPUNIT_LONGTEST', false);
90
    define('PHPUNIT_LONGTEST', false);
91
}
91
}
Línea 92... Línea 92...
92
 
92
 
93
// Remove error handling overrides done in config.php.
93
// Remove error handling overrides done in config.php.
94
error_reporting(E_ALL | E_STRICT);
94
error_reporting(E_ALL);
95
ini_set('display_errors', '1');
95
ini_set('display_errors', '1');
96
ini_set('log_errors', '1');
96
ini_set('log_errors', '1');
Línea 97... Línea 97...
97
set_time_limit(0); // No time limit in CLI scripts, user may cancel execution.
97
set_time_limit(0); // No time limit in CLI scripts, user may cancel execution.
Línea 215... Línea 215...
215
unset($value);
215
unset($value);
216
unset($allowed);
216
unset($allowed);
217
unset($productioncfg);
217
unset($productioncfg);
Línea 218... Línea 218...
218
 
218
 
219
// Force the same CFG settings in all sites.
219
// Force the same CFG settings in all sites.
220
$CFG->debug = (E_ALL | E_STRICT); // Can not use DEBUG_DEVELOPER yet.
220
$CFG->debug = (E_ALL); // Can not use DEBUG_DEVELOPER yet.
221
$CFG->debugdeveloper = true;
221
$CFG->debugdeveloper = true;
222
$CFG->debugdisplay = 1;
222
$CFG->debugdisplay = 1;
223
error_reporting($CFG->debug);
223
error_reporting($CFG->debug);
224
ini_set('display_errors', '1');
224
ini_set('display_errors', '1');