diff options
author | Marc Wilhelm <marc@suxez.com> | 2014-07-22 11:52:18 +0200 |
---|---|---|
committer | Marc Wilhelm <marc@suxez.com> | 2014-07-22 11:52:18 +0200 |
commit | 9c67b1b829290e5e78cb7da90acf285d6cd5c48f (patch) | |
tree | 701dc16488062092d4733a0937b815a4b9248c28 /index.php | |
parent | 955fc6743871016787e8425425b63cd0f40acaa9 (diff) | |
download | wallabag-9c67b1b829290e5e78cb7da90acf285d6cd5c48f.tar.gz wallabag-9c67b1b829290e5e78cb7da90acf285d6cd5c48f.tar.zst wallabag-9c67b1b829290e5e78cb7da90acf285d6cd5c48f.zip |
Split up check_setup.php into two files. The new file check_essentials.php takes care of stuff like the PHP version and is executed before the config files are included which are needed by check_setup. This patch addresses issue #773
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,8 +9,9 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | define ('POCHE', '1.7.1'); | 11 | define ('POCHE', '1.7.1'); |
12 | require 'check_setup.php'; | 12 | require 'check_essentials.php'; |
13 | require_once 'inc/poche/global.inc.php'; | 13 | require_once 'inc/poche/global.inc.php'; |
14 | require 'check_setup.php'; | ||
14 | 15 | ||
15 | # Set error reporting level | 16 | # Set error reporting level |
16 | if (defined('ERROR_REPORTING')) { | 17 | if (defined('ERROR_REPORTING')) { |