diff --git a/View/Header.phtml b/View/Header.phtml index a744713..85df475 100644 --- a/View/Header.phtml +++ b/View/Header.phtml @@ -60,20 +60,20 @@ if(basename($_SERVER['PHP_SELF']) == 'configure.php') if (is_writable($_ini->get('file_path')) === false) { ?>
- Warning : Temporary directory 'get('file_path')) ?>' is not writable, please fix this error and try again. + Warning : Temporary directory 'get('file_path') ?>' is not writable, please fix this error and try again.
path()) === false) { +if (file_exists($_ini->path()) === false) { ?>
- Error : Configuration file 'path()) ?>' is not writable, please fix this error and try again. + Error : Configuration file or folder is missing, please fix this error and try again.
path()) === false) { +} elseif (is_writable($_ini->path()) === false) { ?>
- Error : Configuration file 'path()) ?>' is missing, please fix this error and try again. + Error : Configuration file or folder is not writable, please fix this error and try again.