cvs: pres2 / show.php

From: Date: Sun, 01 Dec 2002 03:25:17 +0000
Subject: cvs: pres2 / show.php
Groups: php.pres 
Request: Send a blank email to pres+get-557@lists.php.net to get a copy of this message
sterling Sat Nov 30 22:25:17 2002 EDT Modified files: /pres2 show.php Log: initialize this variable to avoid messups with presentation system installation. Index: pres2/show.php diff -u pres2/show.php:1.41 pres2/show.php:1.42 --- pres2/show.php:1.41 Wed Nov 20 21:03:46 2002 +++ pres2/show.php Sat Nov 30 22:25:17 2002 @@ -25,7 +25,8 @@ $presFile = trim($_SERVER['PATH_INFO']); $presFile = trim($presFile,'/'); - if(isset($currentPres)) { + $lastPres = -1; + if(isset($currentPres)) { $lastPres = $currentPres; } @list($currentPres,$slideNum) = explode('/',$presFile);

« previous php.pres (#557) next »