aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-05-08 21:04:01 +0000
committernikrou <nikrou@piwigo.org>2010-05-08 21:04:01 +0000
commit4eb631dd5a323a60e9e35d83b201261cbc9c7591 (patch)
tree559c1c05d7631d5c71985dfd79c6469b16a693fc
parentde494ee55de3ee85f105806973ee4051ae42aae5 (diff)
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
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
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);