added a test that $conf['gallery_url'] != http://piwigo.org/demo
git-svn-id: http://piwigo.org/svn/branches/2.1@6412 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
1b90ca1764
commit
f4c16c53eb
1 changed files with 4 additions and 0 deletions
|
@ -118,6 +118,10 @@ catch (Exception $e)
|
||||||
pwg_db_check_charset();
|
pwg_db_check_charset();
|
||||||
|
|
||||||
load_conf_from_db();
|
load_conf_from_db();
|
||||||
|
if ('http://piwigo.org/demo' == $conf['gallery_url'])
|
||||||
|
{
|
||||||
|
conf_update_param('gallery_url', '');
|
||||||
|
}
|
||||||
load_plugins();
|
load_plugins();
|
||||||
|
|
||||||
include(PHPWG_ROOT_PATH.'include/user.inc.php');
|
include(PHPWG_ROOT_PATH.'include/user.inc.php');
|
||||||
|
|
Loading…
Add table
Reference in a new issue