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:
rvelices 2010-05-28 20:02:22 +00:00
parent 1b90ca1764
commit f4c16c53eb

View file

@ -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');