aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/check_essentials.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/check_essentials.php')
-rw-r--r--app/check_essentials.php6
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
2if (!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
4if (version_compare(PHP_VERSION, '5.3.3', '<')) { 6if (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
9if (version_compare(PHP_VERSION, '5.4.0', '<')) { 10if (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 }