summaryrefslogtreecommitdiff
path: root/installer/installer.php
diff options
context:
space:
mode:
Diffstat (limited to 'installer/installer.php')
-rw-r--r--installer/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/installer.php b/installer/installer.php
index 84adc5f9..38fde1fe 100644
--- a/installer/installer.php
+++ b/installer/installer.php
@@ -122,7 +122,7 @@ class installer {
static function create_private_key($config) {
$key = md5(uniqid(mt_rand(), true)) . md5(uniqid(mt_rand(), true));
$sql = self::prepend_prefix($config["prefix"],
- "INSERT INTO {vars} VALUES(NULL, 'core', 'private_key', '$key')");
+ "INSERT INTO {vars} VALUES(NULL, 'gallery', 'private_key', '$key')");
if (mysql_query($sql)) {
} else {
throw new Exception(mysql_error());