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 changed files with 1 additions and 0 deletions

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;
} else {
require_once INCLUDES . '/poche/config.inc.php';
require_once INCLUDES . '/poche/config.inc.php.new';
}
if (Poche::$configFileAvailable && DOWNLOAD_PICTURES) {