]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - check_setup.php
3 if (version_compare(PHP_VERSION
, '5.3.3', '<')) {
4 die('This software require PHP 5.3.3 minimum');
7 // Short tags must be enabled for PHP < 5.4
8 if (version_compare(PHP_VERSION
, '5.4.0', '<')) {
10 if (! ini_get('short_open_tag')) {
11 die('This software require to have short tags enabled, check your php.ini => "short_open_tag = On"');
15 $writableFolders = array('cache', 'db');
16 foreach ($writableFolders as $folder) {
17 if (! is_writable($folder)) {
18 die('The directory "' . $folder . '" must be writeable by your web server user');
22 // install folder still present, need to install wallabag
23 if (is_dir('install')) {
24 require('install/index.php');