mirror of
https://github.com/moodle/moodle.git
synced 2025-04-05 00:12:42 +02:00
Merge branch 'MDL-83852-web-install-fatal-error' of https://github.com/x-iy/moodle
This commit is contained in:
commit
076a519d97
@ -30,6 +30,7 @@
|
||||
*/
|
||||
|
||||
define('CLI_SCRIPT', true);
|
||||
define('NO_DEBUG_DISPLAY', false);
|
||||
|
||||
// extra execution prevention - we can not just require config.php here
|
||||
if (isset($_SERVER['REMOTE_ADDR'])) {
|
||||
|
@ -46,6 +46,7 @@ if (file_exists($configfile)) {
|
||||
define('CLI_SCRIPT', false); // prevents some warnings later
|
||||
define('AJAX_SCRIPT', false); // prevents some warnings later
|
||||
define('CACHE_DISABLE_ALL', true); // Disables caching.. just in case.
|
||||
define('NO_DEBUG_DISPLAY', false);
|
||||
define('PHPUNIT_TEST', false);
|
||||
define('IGNORE_COMPONENT_CACHE', true);
|
||||
define('MDL_PERF_TEST', false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user