CVS update: phpweb/include
| From: | rasmus | Date: | Mon, 06 Sep 1999 06:30:55 +0000 |
| Subject: | CVS update: phpweb/include | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-421@lists.php.net to get a copy of this message | ||
Date: Monday September 6, 1999 @ 2:30
Author: rasmus
Update of /repository/phpweb/include
In directory php:/local/Web/sites/phpweb/include
Modified Files:
shared-manual.inc
Log Message:
Use getlastmod() here instead
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.29 phpweb/include/shared-manual.inc:1.30
--- phpweb/include/shared-manual.inc:1.29 Sun Sep 5 16:57:33 1999
+++ phpweb/include/shared-manual.inc Mon Sep 6 02:30:55 1999
@@ -15,7 +15,7 @@
$t = mysql_fetch_row($result_id);
Header("Last-Modified: ".gmdate("D, d M Y H:i:s",$t[0])." GMT");
} else {
- Header("Last-Modified: ".gmdate("D, d M Y
H:i:s",filemtime($SCRIPT_FILENAME))." GMT");
+ Header("Last-Modified: ".gmdate("D, d M Y H:i:s",getlastmod)."
GMT");
}
if($result_id) mysql_free_result($result_id);
}