From: defacer Date: Fri, 23 Feb 2007 01:23:04 +0000 (+0000) Subject: Fixing a few tons of notices when installing X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=23b86e1cf1fcf486cb3cb0fd196fa3165b7718f5;p=moodle.git Fixing a few tons of notices when installing if error_reporting = E_ALL in php.ini. I 'm back! :D --- diff --git a/install.php b/install.php index da2f35f9ba..d1a00d3a48 100644 --- a/install.php +++ b/install.php @@ -24,6 +24,8 @@ define ('REDIRECT', 8); /// 8. Redirect to index.php ///==========================================================================// +/// This has to be defined to avoid a notice in current_language() +define('SITEID', 0); /// Begin the session as we are holding all information in a session /// variable until the end.