mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-02 23:13:20 +02: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()
|
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');
|
@include(PHPWG_ROOT_PATH. 'local/config/config.inc.php');
|
||||||
if (isset($conf['local_dir_site']))
|
if (isset($conf['local_dir_site']))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user