From 4eb631dd5a323a60e9e35d83b201261cbc9c7591 Mon Sep 17 00:00:00 2001 From: nikrou Date: Sat, 8 May 2010 21:04:01 +0000 Subject: Bug fix : secret key was allways the same and was absolutly not random ! git-svn-id: http://piwigo.org/svn/trunk@6130 68402e56-0260-453c-a942-63ccdbb3a9ee --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.php') diff --git a/install.php b/install.php index 1864810d9..00f1dd04e 100644 --- a/install.php +++ b/install.php @@ -312,7 +312,7 @@ define(\'DB_COLLATE\', \'\'); $query = ' INSERT INTO '.$prefixeTable.'config (param,value,comment) - VALUES (\'secret_key\',\'md5('.pwg_db_cast_to_text(DB_RANDOM_FUNCTION.'()').')\', + 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); -- cgit v1.2.3