cvs: pres2 / show.php
| From: | Leonard Lin | Date: | Sat, 02 Nov 2002 00:15:33 +0000 |
| Subject: | cvs: pres2 / show.php | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-465@lists.php.net to get a copy of this message | ||
lhl Fri Nov 1 19:15:33 2002 EDT
Modified files:
/pres2 show.php
Log:
fixed booboo, now reads correct slide file for last modified date
Index: pres2/show.php
diff -u pres2/show.php:1.37 pres2/show.php:1.38
--- pres2/show.php:1.37 Fri Nov 1 18:18:40 2002
+++ pres2/show.php Fri Nov 1 19:15:32 2002
@@ -86,7 +86,7 @@
case 'html':
case 'flash':
// facilitate caching
- header("Last-Modified: " . date("r", filemtime($slideDir)));
+ header("Last-Modified: " . date("r",
filemtime($presentationDir.'/'.$pres[1]->slides[$slideNum]->filename)));
echo <<<HEADER
<html>