From: toyomoyo Date: Wed, 15 Nov 2006 03:15:06 +0000 (+0000) Subject: fixing indenting X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=323edd4ba4432d0fa5bd05157c21b08e2e7333db;p=moodle.git fixing indenting --- diff --git a/lib/setup.php b/lib/setup.php index ed5d8df3db..5e433a73f6 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -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')) {