Skip to content

Commit

Permalink
fixed regex typo in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Aug 28, 2006
1 parent 790fda7 commit b735d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.php
Expand Up @@ -153,7 +153,7 @@
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;
}
Expand Down

0 comments on commit b735d14

Please sign in to comment.