]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/check_essentials.php
grrr, remove call to bootstrap
[github/wallabag/wallabag.git] / app / check_essentials.php
CommitLineData
9c67b1b8 1<?php
19875ef0
NL
2if (!file_exists(__DIR__ . '/config/config.inc.php')) {
3 die('wallabag seems to be not installed. Please execute ./bin/install before.');
4}
9c67b1b8 5
9c67b1b8
MW
6if (version_compare(PHP_VERSION, '5.3.3', '<')) {
7 die('This software require PHP 5.3.3 minimum');
8}
9
9c67b1b8 10if (version_compare(PHP_VERSION, '5.4.0', '<')) {
9c67b1b8
MW
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"');
13 }
14}