mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-02 19:42:54 +02:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user