Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
elijaa committed Mar 15, 2017
1 parent 37dd425 commit 3e86ca4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions View/Header.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,20 @@ if(basename($_SERVER['PHP_SELF']) == 'configure.php')
if (is_writable($_ini->get('file_path')) === false) {
?>
<div class="header corner full-size padding" style="margin-top:10px;">
Warning : Temporary directory '<em><?php echo realpath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . $_ini->get('file_path')) ?></em>' is not writable, please fix this error and try again.
Warning : Temporary directory '<em><?php echo $_ini->get('file_path') ?></em>' is not writable, please fix this error and try again.
</div>
<?php
}
if (is_writable($_ini->path()) === false) {
if (file_exists($_ini->path()) === false) {
?>
<div class="header corner full-size padding" style="margin-top:10px;">
Error : Configuration file '<em><?php echo realpath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . $_ini->path()) ?></em>' is not writable, please fix this error and try again.
Error : Configuration file or folder is missing, please fix this error and try again.
</div>
<?php
} elseif (file_exists($_ini->path()) === false) {
} elseif (is_writable($_ini->path()) === false) {
?>
<div class="header corner full-size padding" style="margin-top:10px;">
Error : Configuration file '<em><?php echo realpath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . $_ini->path()) ?></em>' is missing, please fix this error and try again.
Error : Configuration file or folder is not writable, please fix this error and try again.
</div>
<?php
} ?>
Expand Down

0 comments on commit 3e86ca4

Please sign in to comment.