forked from wallabag/wallabag
default config is included after user config to prevent undefined constant warning
This commit is contained in:
1
inc/poche/global.inc.php
Normal file → Executable file
1
inc/poche/global.inc.php
Normal file → Executable 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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user