From 7251d63d3d09d27c06c6f2669471d903521fa072 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Wed, 28 Jan 2009 22:54:39 +0000 Subject: [PATCH] MDL-18072 installer - define CLI_SCRIPT (false) to avoid notices here and there. --- install.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.php b/install.php index 90bfb6e95a..09d707b27f 100644 --- a/install.php +++ b/install.php @@ -27,6 +27,9 @@ define ('REDIRECT', 8); /// 8. Redirect to index.php /// This has to be defined to avoid a notice in current_language() define('SITEID', 0); +/// Defined to avoid some notices in weblib and so on. This is a web installer, so set it to false +define('CLI_SCRIPT', false); + /// Begin the session as we are holding all information in a session /// variable until the end. -- 2.39.5