aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/systemsettings/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index 25e757b82..4260bf818 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -30,7 +30,7 @@
throw new InstallationException(elgg_echo('InstallationException:DatarootBlank'));
// That it's valid
- if (strpos($dataroot, $path)!==false)
+ if (stripos($dataroot, $path)!==false)
throw new InstallationException(sprintf(elgg_echo('InstallationException:DatarootUnderPath'), $dataroot));
// Check data root is writable