summaryrefslogtreecommitdiff
path: root/rss.php
diff options
context:
space:
mode:
Diffstat (limited to 'rss.php')
-rw-r--r--rss.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/rss.php b/rss.php
index 5a7db42..4ee2d6b 100644
--- a/rss.php
+++ b/rss.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_rss/Attic/rss.php,v 1.1.1.1.2.9 2005/08/25 21:31:44 lsces Exp $
+ * $Header: /cvsroot/bitweaver/_bit_rss/Attic/rss.php,v 1.1.1.1.2.10 2005/08/25 22:11:20 lsces Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: rss.php,v 1.1.1.1.2.9 2005/08/25 21:31:44 lsces Exp $
+ * $Id: rss.php,v 1.1.1.1.2.10 2005/08/25 22:11:20 lsces Exp $
* @package rss
* @subpackage functions
*/
@@ -174,7 +174,7 @@ if ($output == "") {
$feed = substr( md5( $_SERVER['REQUEST_URI'] ), 0, 30 );
// update cache with new generated data
- $now = date("U");
+ $now = $gBitSystem->getUTCTime();
$query = "update `".BIT_DB_PREFIX."tiki_rss_feeds` set `cache`=?, `last_updated`=? where `name`=? and `rss_ver`=?";
$bindvars = array( BitDb::db_byte_encode( $output ), (int) $now, $feed, $rss_version);
$result = $gBitSystem->mDb->query($query,$bindvars);