cvs: pearweb /public_html index.php

From: Date: Tue, 04 Sep 2001 03:04:46 +0000
Subject: cvs: pearweb /public_html index.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-781@lists.php.net to get a copy of this message
cox Mon Sep 3 23:04:46 2001 EDT Modified files: /pearweb/public_html index.php Log: try to make work "undevme" Index: pearweb/public_html/index.php diff -u pearweb/public_html/index.php:1.21 pearweb/public_html/index.php:1.22 --- pearweb/public_html/index.php:1.21 Mon Sep 3 23:03:25 2001 +++ pearweb/public_html/index.php Mon Sep 3 23:04:46 2001 @@ -6,7 +6,7 @@ setcookie('pear_dev', 'on', time() + $duration, '/'); $HTTP_COOKIE_VARS['pear_dev'] = 'on'; } elseif ($HTTP_SERVER_VARS['QUERY_STRING'] == 'undevme') { - setcookie('pear_dev'); + setcookie('pear_dev', '', time() - 3600, '/'); unset($HTTP_COOKIE_VARS['pear_dev']); }

« previous php.pear.cvs (#781) next »