Changeset 6130 for trunk/install.php


Ignore:
Timestamp:
May 8, 2010, 11:04:01 PM (15 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.