cvs: pearweb /include pear-prepend.php

From: Date: Wed, 07 Jul 2004 22:29:48 +0000
Subject: cvs: pearweb /include pear-prepend.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-433@lists.php.net to get a copy of this message
danielc Wed Jul 7 18:29:48 2004 EDT Modified files: /pearweb/include pear-prepend.php Log: * Put "Last updated" in the UTC zone. http://cvs.php.net/diff.php/pearweb/include/pear-prepend.php?r1=1.49&r2=1.50&ty=u Index: pearweb/include/pear-prepend.php diff -u pearweb/include/pear-prepend.php:1.49 pearweb/include/pear-prepend.php:1.50 --- pearweb/include/pear-prepend.php:1.49 Sun Apr 25 13:50:28 2004 +++ pearweb/include/pear-prepend.php Wed Jul 7 18:29:47 2004 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: pear-prepend.php,v 1.49 2004/04/25 17:50:28 mj Exp $ + $Id: pear-prepend.php,v 1.50 2004/07/07 22:29:47 danielc Exp $ */ if ($_SERVER['SERVER_NAME'] != 'pear.php.net') { @@ -57,7 +57,8 @@ $dbh = DB::connect(PEAR_DATABASE_DSN, array('persistent' => false)); } -$LAST_UPDATED = date("D M d H:i:s Y T", filectime($_SERVER['SCRIPT_FILENAME'])); +$tmp = filectime($_SERVER['SCRIPT_FILENAME']); +$LAST_UPDATED = date('D M d H:i:s Y', $tmp - date('Z', $tmp)) . ' UTC'; if (!empty($_GET['logout']) && $_GET['logout'] === '1') { auth_logout();

« previous php.pear.core (#433) next »