Re: [PRES] cvs: pres2 / show.php

From: Date: Sat, 02 Nov 2002 22:12:21 +0000
Subject: Re: [PRES] cvs: pres2 / show.php
References: 1  Groups: php.pres 
Request: Send a blank email to pres+get-484@lists.php.net to get a copy of this message
Just occurred to me that I'm going to need to write some checking code to make sure that slides that are running dynamic code isn't cached. Shouldn't be too hard, but I've reverted show.php to 1.36 until I check in the fix. I'll probably add in support for Mozilla's link prefetching while I'm at it. .l Leonard Lin wrote:
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 <<


« previous php.pres (#484) next »