diff --git a/lib/requirements.php b/lib/requirements.php index 6fe853d..de65460 100644 --- a/lib/requirements.php +++ b/lib/requirements.php @@ -37,9 +37,9 @@ if (false === $reqsPassed) { - - - + + + @@ -47,7 +47,7 @@ if (false === $reqsPassed) {
- ICEcoder + ICEcoder
v versionNo;?>
@@ -57,11 +57,20 @@ if (false === $reqsPassed) { if (true === in_array("phpVersion", $reqsFailures)) { echo "Your PHP version is " . phpversion() . "
and needs 7.0 or above

"; } + if (true === in_array("phpDataDirDoesntExist", $reqsFailures)) { + echo "You don't seem to have a:
data dir
Please check and possibly
reinstall ICEcoder

"; + } + if (true === in_array("phpDataDirNotReadable", $reqsFailures)) { + echo "You don't seem to be able
to read the data dir

"; + } + if (true === in_array("phpDataDirNotWritable", $reqsFailures)) { + echo "You don't seem to be able
to write to the data dir

"; + } if (true === in_array("phpSession", $reqsFailures)) { echo "You don't appear to have a
working PHP session

"; } if (true === in_array("phpCreateConfig", $reqsFailures)) { - echo "Cannot create config file:
data/" . $settingsClass->getConfigGlobalFileDetails()['fileName'] . "
Please check write permissions
on data dir and reload page

"; + echo "Cannot create config or read file:
data/" . $settingsClass->getConfigGlobalFileDetails()['fileName'] . "
Please check write permissions
on data dir and reload page

"; } if (true === in_array("phpFileExists", $reqsFailures)) { echo "You don't seem to have
the config file

";