diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-30 22:40:17 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-30 22:40:17 +0000 |
| commit | faada9c6252d007a49f21832282f6e913df4a44a (patch) | |
| tree | 0b9433b4de9e956f0b3bbf24d8b7352b81765872 /display_bitpage_inc.php | |
| parent | 1b60aee645de67c474ce11b6e4db2c9ee36719ca (diff) | |
| download | wiki-faada9c6252d007a49f21832282f6e913df4a44a.tar.gz wiki-faada9c6252d007a49f21832282f6e913df4a44a.tar.bz2 wiki-faada9c6252d007a49f21832282f6e913df4a44a.zip | |
synch recent changes from R1 to HEAD
Diffstat (limited to 'display_bitpage_inc.php')
| -rw-r--r-- | display_bitpage_inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/display_bitpage_inc.php b/display_bitpage_inc.php index 91aab29..b3ba192 100644 --- a/display_bitpage_inc.php +++ b/display_bitpage_inc.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/display_bitpage_inc.php,v 1.6 2005/08/24 21:00:26 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/display_bitpage_inc.php,v 1.7 2005/08/30 22:40:17 squareing 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: display_bitpage_inc.php,v 1.6 2005/08/24 21:00:26 squareing Exp $ + * $Id: display_bitpage_inc.php,v 1.7 2005/08/30 22:40:17 squareing Exp $ * @package wiki * @subpackage functions */ @@ -127,7 +127,7 @@ if(isset($_REQUEST["undo"])) { $gContent->removeLastVersion(); // If page was deleted then re-create if( !$fPID ) { - $wikilib->create_page($gContent->mInfo['title'],0,'',date("U"),'Tiki initialization'); + $wikilib->create_page($gContent->mInfo['title'],0,'',$gBitSystem->getUTCTime(),'Tiki initialization'); } } } @@ -165,7 +165,7 @@ if(isset($gContent->mInfo['wiki_cache']) && $gContent->mInfo['wiki_cache']>0) { } if($wiki_cache>0) { $cache_info = $wikilib->get_cache_info($gContent->mInfo['title']); - $now = date('U'); + $now = $gBitSystem->getUTCTime(); if($cache_info['cache_timestamp']+$wiki_cache > $now) { $pdata = $cache_info['cache']; $gBitSmarty->assign('cached_page','y'); |
