aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.inc.php')
-rw-r--r--include/common.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 9805bc362..07949bba5 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -118,6 +118,10 @@ catch (Exception $e)
pwg_db_check_charset();
load_conf_from_db();
+if ('http://piwigo.org/demo' == $conf['gallery_url'])
+{
+ conf_update_param('gallery_url', '');
+}
load_plugins();
include(PHPWG_ROOT_PATH.'include/user.inc.php');