diff options
Diffstat (limited to '')
-rw-r--r-- | admin/remote_site.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/remote_site.php b/admin/remote_site.php index ba8dc67ce..774358ddf 100644 --- a/admin/remote_site.php +++ b/admin/remote_site.php @@ -31,7 +31,8 @@ if (!defined('PHPWG_ROOT_PATH')) } include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); -define('CURRENT_DATE', date('Y-m-d')); +list($dbnow) = mysql_fetch_row(pwg_query('SELECT NOW();')); +define('CURRENT_DATE', $dbnow); // +-----------------------------------------------------------------------+ // | functions | // +-----------------------------------------------------------------------+ |