1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-30 12:52:24 -05:00

default config is included after user config to prevent undefined constant warning

This commit is contained in:
Maryana Rozhankivska 2014-04-22 19:11:26 +03:00
parent c2cf7075c2
commit a4a870e1ec

1
inc/poche/global.inc.php Normal file → Executable file
View File

@ -43,6 +43,7 @@ if (! file_exists(INCLUDES . '/poche/config.inc.php')) {
Poche::$configFileAvailable = false; Poche::$configFileAvailable = false;
} else { } else {
require_once INCLUDES . '/poche/config.inc.php'; require_once INCLUDES . '/poche/config.inc.php';
require_once INCLUDES . '/poche/config.inc.php.new';
} }
if (Poche::$configFileAvailable && DOWNLOAD_PICTURES) { if (Poche::$configFileAvailable && DOWNLOAD_PICTURES) {