proper CSS class for sitesupport link
[lhc/web/wiklou.git] / install.php
index 8fe1ab5..6355cd6 100644 (file)
@@ -59,14 +59,16 @@ copyfile( "./images", "wiki.png", $wgUploadDirectory );
 copyfile( "./languages", "Language.php", $IP );
 copyfile( "./languages", "Language" . ucfirst( $wgLanguageCode ) . ".php", $IP );
 
-$fp = fopen( $wgDebugLogFile, "w" );
-if ( false === $fp ) {
-       print "Could not create log file \"{$wgDebugLogFile}\".\n";
-       exit();
+if ( $wgDebugLogFile ) {
+       $fp = fopen( $wgDebugLogFile, "w" );
+       if ( false === $fp ) {
+               print "Could not create log file \"{$wgDebugLogFile}\".\n";
+               exit();
+       }
+       $d = date( "Y-m-d H:i:s" );
+       fwrite( $fp, "Wiki debug log file created {$d}\n\n" );
+       fclose( $fp );
 }
-$d = date( "Y-m-d H:i:s" );
-fwrite( $fp, "Wiki debug log file created {$d}\n\n" );
-fclose( $fp );
 
 if ( $wgUseTeX ) {
        makedirectory( "{$IP}/math" );
@@ -120,8 +122,7 @@ populatedata(); # Needs internationalized messages
 print "Adding indexes...\n";
 dbsource( "./maintenance/indexes.sql", $rconn );
 
-print "Done.\nBrowse \"{$wgServer}{$wgScript}\" to test,\n" .
-  "or \"run WikiSuite -b -o\" in test suite.\n";
+print "Done.\nBrowse \"{$wgServer}{$wgScript}\" to test.\n";
 exit();
 
 #