cvs: phpweb / bugs.php

From: Date: Wed, 24 Jan 2001 02:36:56 +0000
Subject: cvs: phpweb / bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-3567@lists.php.net to get a copy of this message
jimw Tue Jan 23 18:36:56 2001 EDT Modified files: /phpweb bugs.php Log: il.php.net doesn't exist any more, clean up Index: phpweb/bugs.php diff -u phpweb/bugs.php:1.77 phpweb/bugs.php:1.78 --- phpweb/bugs.php:1.77 Tue Jan 23 18:14:23 2001 +++ phpweb/bugs.php Tue Jan 23 18:36:55 2001 @@ -1,8 +1,9 @@ -<? - if(isset($save) && isset($user) && isset($pw)) { - SetCookie("MAGIC_COOKIE",base64_encode("$user:$pw"),time()+3600*24*12,'/'); - } +<?php +if(isset($save) && isset($user) && isset($pw)) { + SetCookie("MAGIC_COOKIE",base64_encode("$user:$pw"),time()+3600*24*12,'/'); +} + /* See the end of the script for the table layout. */ if(!isset($status)) $status = ''; @@ -11,13 +12,10 @@ $destination = "php-dev@lists.php.net"; require("shared.inc"); + if (strstr($MYSITE,"bugs.php.net")) { $dbhost="localhost"; $dbuser="nobody"; - $dbpwd=""; -} else if (strstr($MYSITE,"il.php.net")) { - $dbhost="bugs.php.net"; - $dbuser="bourbon"; $dbpwd=""; } else if (strstr($MYSITE,"localhost")) { $dbhost="localhost";

« previous php.mirrors (#3567) next »