]> git.mjollnir.org Git - moodle.git/commitdiff
Fixing a few tons of notices when installing
authordefacer <defacer>
Fri, 23 Feb 2007 01:23:04 +0000 (01:23 +0000)
committerdefacer <defacer>
Fri, 23 Feb 2007 01:23:04 +0000 (01:23 +0000)
if error_reporting = E_ALL in php.ini.

I 'm back! :D

install.php

index da2f35f9ba729923123e4c2bbbe590ee9c544894..d1a00d3a48ba4b2cad647fd6180e1e7e97a913e6 100644 (file)
@@ -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.