diff options
Diffstat (limited to 'app/check_essentials.php')
-rw-r--r-- | app/check_essentials.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/check_essentials.php b/app/check_essentials.php index a47cd5a8..073b6032 100644 --- a/app/check_essentials.php +++ b/app/check_essentials.php | |||
@@ -1,13 +1,13 @@ | |||
1 | <?php | 1 | <?php |
2 | if (!file_exists(__DIR__ . '/config/config.inc.php')) { | ||
3 | die('wallabag seems to be not installed. Please execute ./bin/install before.'); | ||
4 | } | ||
2 | 5 | ||
3 | // PHP 5.3 minimum | ||
4 | if (version_compare(PHP_VERSION, '5.3.3', '<')) { | 6 | if (version_compare(PHP_VERSION, '5.3.3', '<')) { |
5 | die('This software require PHP 5.3.3 minimum'); | 7 | die('This software require PHP 5.3.3 minimum'); |
6 | } | 8 | } |
7 | 9 | ||
8 | // Short tags must be enabled for PHP < 5.4 | ||
9 | if (version_compare(PHP_VERSION, '5.4.0', '<')) { | 10 | if (version_compare(PHP_VERSION, '5.4.0', '<')) { |
10 | |||
11 | if (! ini_get('short_open_tag')) { | 11 | if (! ini_get('short_open_tag')) { |
12 | die('This software require to have short tags enabled, check your php.ini => "short_open_tag = On"'); | 12 | die('This software require to have short tags enabled, check your php.ini => "short_open_tag = On"'); |
13 | } | 13 | } |