Changeset 337 for include

Show
Ignore:
Timestamp:
04/03/11 18:41:38 (1 year ago)
Author:
Nafania
Message:

Небольшой фикс для поиска сфинкса и фикс ошибки sql error Duplicate entry '***' for key 1 occured in sql query INSERT INTO sessions...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/sessions.php

    r324 r337  
    688688        global $config, $dss_seeded; 
    689689 
    690         $val = $config['rand_seed'] . microtime(); 
     690        $val = uniqid(rand(),true) . $config['rand_seed'] . uniqid(rand(),true); 
    691691        $val = md5($val); 
    692692        $config['rand_seed'] = md5($config['rand_seed'] . $val . 'a');