mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Fixed: Use old $conf to insert in #_config
Only to help for next migration See http://svn.gna.org/viewcvs/phpwebgallery?rev=1565&view=rev git-svn-id: http://piwigo.org/svn/trunk@1634 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -33,7 +33,9 @@ if (!defined('PHPWG_ROOT_PATH'))
|
||||
$upgrade_description = 'Add history_guest and login_history to #config';
|
||||
|
||||
$query = '
|
||||
INSERT INTO '.PREFIX_TABLE."config (param,value,comment) VALUES ('history_admin','false','keep a history of administrator visits on your website');";
|
||||
INSERT INTO '.PREFIX_TABLE."config (param,value,comment) VALUES ('history_admin',".
|
||||
((isset($conf['history_admin']) and $conf['history_admin']) ? 'true' : 'false').
|
||||
",'keep a history of administrator visits on your website');";
|
||||
pwg_query($query);
|
||||
|
||||
$query = '
|
||||
|
||||
Reference in New Issue
Block a user