aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install.php2
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);