Merge branch 'MDL-83852-web-install-fatal-error' of https://github.com/x-iy/moodle

This commit is contained in:
Huong Nguyen 2024-12-05 11:49:11 +07:00
commit 076a519d97
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A
2 changed files with 2 additions and 0 deletions

View File

@ -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'])) {

View File

@ -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);