Author: cyb
Date: Fri Apr 27 13:50:03 2007
New Revision: 379

URL: http://svn.gna.org/viewcvs/phplinker?rev=379&view=rev
Log:
exit() after header('Location...')

Modified:
    trunk/www/code.php

Modified: trunk/www/code.php
URL: 
http://svn.gna.org/viewcvs/phplinker/trunk/www/code.php?rev=379&r1=378&r2=379&view=diff
==============================================================================
--- trunk/www/code.php (original)
+++ trunk/www/code.php Fri Apr 27 13:50:03 2007
@@ -22,8 +22,10 @@
 
 if(isset($_SESSION['code']))
   $text = $_SESSION['code']; //on récupére le code à générer
-else
+else {
    header("Location: /passwd");
+   exit;
+}
 
 $im = imagecreatefromjpeg("imgs/secret.jpg");
 $id = imagecreatefromjpeg("imgs/secret.jpg");


_______________________________________________
PHPLinker-commits mailing list
[email protected]
https://mail.gna.org/listinfo/phplinker-commits

Reply via email to