fixed regex typo in installer

This commit is contained in:
skodak 2006-08-28 22:09:44 +00:00
parent 790fda7b0e
commit b735d140ef

View File

@ -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;
}