diff options
author | mathiasm <mathiasm@piwigo.org> | 2010-01-05 22:25:16 +0000 |
---|---|---|
committer | mathiasm <mathiasm@piwigo.org> | 2010-01-05 22:25:16 +0000 |
commit | 80a3f921ecac2b0d4f1e2e3c0e1887c1a0da439e (patch) | |
tree | 1d47e1b1c8335ee8e169e0fb3cb49dcf60d3ce0f /install.php | |
parent | 43c0e4d3b18838e3df2086ce02ba63569dbb4153 (diff) |
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
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php index f80290b0d..fb47cc479 100644 --- a/install.php +++ b/install.php @@ -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); |