default config is included after user config to prevent undefined constant warning
This commit is contained in:
parent
c2cf7075c2
commit
a4a870e1ec
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue