Changeset 6604 for trunk/admin


Ignore:
Timestamp:
Jun 25, 2010, 9:43:44 PM (14 years ago)
Author:
nikrou
Message:

Bug 1744 fixed : Incorrect use of timezone with SQLite
Fixed anti-flood system.

Need refactoring between each interval functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/intro.php

    r6363 r6604  
    127127$php_current_timestamp = date("Y-m-d H:i:s");
    128128$db_version = pwg_get_db_version();
    129 list($db_current_timestamp) = pwg_db_fetch_row(pwg_query('SELECT CURRENT_TIMESTAMP;'));
     129list($db_current_date) = pwg_db_fetch_row(pwg_query('SELECT now();'));
    130130
    131131$query = '
     
    216216    'U_PHPINFO' => PHPWG_ROOT_PATH.'admin.php?action=phpinfo',
    217217    'PHP_DATATIME' => $php_current_timestamp,
    218     'DB_DATATIME' => $db_current_timestamp,
     218    'DB_DATATIME' => $db_current_date,
    219219    )
    220220  );
Note: See TracChangeset for help on using the changeset viewer.