mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1759 make sure conf array is loaded
This commit is contained in:
@@ -327,6 +327,8 @@ switch ($page['section'])
|
||||
|
||||
function order_by_is_local()
|
||||
{
|
||||
$conf = array();
|
||||
include(PHPWG_ROOT_PATH . 'include/config_default.inc.php');
|
||||
@include(PHPWG_ROOT_PATH. 'local/config/config.inc.php');
|
||||
if (isset($conf['local_dir_site']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user