From: skodak Date: Mon, 28 Aug 2006 22:09:44 +0000 (+0000) Subject: fixed regex typo in installer X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b735d140efab4ad3363297b59e342bdaff7739ef;p=moodle.git fixed regex typo in installer --- diff --git a/install.php b/install.php index 438cb9949d..8f47eefb7a 100644 --- a/install.php +++ b/install.php @@ -153,7 +153,7 @@ if ($INSTALL['wwwroot'] == '') { while(is_dataroot_insecure()) { $parrent = dirname($CFG->dataroot); $i++; - if ($parrent == '/' or $parrent == '.' or preg_match('/^[a-z]:\\?$/i', $parrent) or ($i > 100)) { + if ($parrent == '/' or $parrent == '.' or preg_match('/^[a-z]:\\\?$/i', $parrent) or ($i > 100)) { $CFG->dataroot = ''; //can not find secure location for dataroot break; }