Changeset 6130


Ignore:
Timestamp:
05/08/10 23:04:01 (9 years ago)
Author:
nikrou
Message:

Bug fix : secret key was allways the same and was absolutly not random !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install.php

    r5983 r6130  
    313313    $query = ' 
    314314INSERT INTO '.$prefixeTable.'config (param,value,comment)  
    315    VALUES (\'secret_key\',\'md5('.pwg_db_cast_to_text(DB_RANDOM_FUNCTION.'()').')\', 
     315   VALUES (\'secret_key\',md5('.pwg_db_cast_to_text(DB_RANDOM_FUNCTION.'()').'), 
    316316   \'a secret key specific to the gallery for internal use\');'; 
    317317    pwg_query($query); 
Note: See TracChangeset for help on using the changeset viewer.