]> git.mjollnir.org Git - moodle.git/commitdiff
fixing indenting
authortoyomoyo <toyomoyo>
Wed, 15 Nov 2006 03:15:06 +0000 (03:15 +0000)
committertoyomoyo <toyomoyo>
Wed, 15 Nov 2006 03:15:06 +0000 (03:15 +0000)
lib/setup.php

index ed5d8df3db3f117f27530e696f517ef8caa22200..5e433a73f6c0ce70965290d09451709b7f70e43b 100644 (file)
@@ -275,12 +275,12 @@ global $HTTPSPAGEREQUIRED;
 /// - WINDOWS: for any Windows flavour.
 /// - UNIX: for the rest
 /// Also, $CFG->os can continue being used if more specialization is required
-if (stristr(PHP_OS, 'win') && !stristr(PHP_OS, 'darwin')) {
-    $CFG->ostype = 'WINDOWS';
-} else {
-    $CFG->ostype = 'UNIX';
-}
-$CFG->os = PHP_OS;
+    if (stristr(PHP_OS, 'win') && !stristr(PHP_OS, 'darwin')) {
+        $CFG->ostype = 'WINDOWS';
+    } else {
+        $CFG->ostype = 'UNIX';
+    }
+    $CFG->os = PHP_OS;
 
 /// Setup cache dir for Smarty and others
     if (!file_exists($CFG->dataroot .'/cache')) {