Fix : replace a constant by value of prefix for a real query
git-svn-id: http://piwigo.org/svn/trunk@4628 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
43c0e4d3b1
commit
80a3f921ec
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ define(\'DB_COLLATE\', \'\');
|
|||
);
|
||||
|
||||
$query = '
|
||||
INSERT INTO piwigo_config (param,value,comment)
|
||||
INSERT INTO '.$table_prefix.'config (param,value,comment)
|
||||
VALUES (\'secret_key\',\'md5('.pwg_db_cast_to_text(DB_RANDOM_FUNCTION.'()').')\',
|
||||
\'a secret key specific to the gallery for internal use\');';
|
||||
pwg_query($query);
|
||||
|
|
Loading…
Add table
Reference in a new issue