cvs: php-bugs-web / bug-pwd-finder.php bug.php bugstats.php fix.php lbugs.php lstats.php report.php search.php vote.php /rss bug.php /scripts
email-bug-summaries no-feedback

From: Date: Fri, 23 Jan 2004 02:33:33 +0000
Subject: cvs: php-bugs-web / bug-pwd-finder.php bug.php bugstats.php fix.php lbugs.php lstats.php report.php search.php vote.php /rss bug.php /scripts
email-bug-summaries no-feedback
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-23127@lists.php.net to get a copy of this message
didou Thu Jan 22 21:33:33 2004 EDT Modified files: /php-bugs-web bug-pwd-finder.php bug.php bugstats.php fix.php lbugs.php lstats.php report.php search.php vote.php /php-bugs-web/rss bug.php /php-bugs-web/scripts email-bug-summaries no-feedback Log: switching to a classic inclusion http://cvs.php.net/diff.php/php-bugs-web/bug-pwd-finder.php?r1=1.8&r2=1.9&ty=u Index: php-bugs-web/bug-pwd-finder.php diff -u php-bugs-web/bug-pwd-finder.php:1.8 php-bugs-web/bug-pwd-finder.php:1.9 --- php-bugs-web/bug-pwd-finder.php:1.8 Thu Jan 22 18:27:04 2004 +++ php-bugs-web/bug-pwd-finder.php Thu Jan 22 21:33:31 2004 @@ -1,5 +1,6 @@ <?php require_once 'prepend.inc'; +require_once 'config.php'; /* See bugs.php for the table layout of bugdb. */ http://cvs.php.net/diff.php/php-bugs-web/bug.php?r1=1.59&r2=1.60&ty=u Index: php-bugs-web/bug.php diff -u php-bugs-web/bug.php:1.59 php-bugs-web/bug.php:1.60 --- php-bugs-web/bug.php:1.59 Thu Jan 22 18:27:04 2004 +++ php-bugs-web/bug.php Thu Jan 22 21:33:31 2004 @@ -6,6 +6,7 @@ } $edit = (int)$edit; +require_once 'config.php'; require_once 'prepend.inc'; require_once 'cvs-auth.inc'; require_once 'trusted-devs.inc'; @@ -22,6 +23,7 @@ list($user,$pw) = explode(":", base64_decode($MAGIC_COOKIE)); } + @mysql_connect(BUG_DB_SERVER, BUG_DB_USER, BUG_DB_PASS) or die("Unable to connect to SQL server."); @mysql_select_db(BUG_DB_NAME); http://cvs.php.net/diff.php/php-bugs-web/bugstats.php?r1=1.19&r2=1.20&ty=u Index: php-bugs-web/bugstats.php diff -u php-bugs-web/bugstats.php:1.19 php-bugs-web/bugstats.php:1.20 --- php-bugs-web/bugstats.php:1.19 Thu Jan 22 18:27:04 2004 +++ php-bugs-web/bugstats.php Thu Jan 22 21:33:31 2004 @@ -1,5 +1,6 @@ <?php /* vim: set noet ts=4 sw=4: : */ require_once 'prepend.inc'; +require_once 'config.php'; commonHeader("Statistics"); http://cvs.php.net/diff.php/php-bugs-web/fix.php?r1=1.14&r2=1.15&ty=u Index: php-bugs-web/fix.php diff -u php-bugs-web/fix.php:1.14 php-bugs-web/fix.php:1.15 --- php-bugs-web/fix.php:1.14 Thu Jan 22 18:27:04 2004 +++ php-bugs-web/fix.php Thu Jan 22 21:33:31 2004 @@ -6,6 +6,7 @@ } require_once 'prepend.inc'; +require_once 'config.php'; require_once 'cvs-auth.inc'; $mail_bugs_to = 'php-bugs@lists.php.net'; http://cvs.php.net/diff.php/php-bugs-web/lbugs.php?r1=1.9&r2=1.10&ty=u Index: php-bugs-web/lbugs.php diff -u php-bugs-web/lbugs.php:1.9 php-bugs-web/lbugs.php:1.10 --- php-bugs-web/lbugs.php:1.9 Thu Jan 22 18:27:04 2004 +++ php-bugs-web/lbugs.php Thu Jan 22 21:33:31 2004 @@ -1,5 +1,6 @@ <?php /* vim: set noet ts=4 sw=4: : */ +require_once 'config.php'; mysql_connect(BUG_DB_SERVER, BUG_DB_USER, BUG_DB_PASS) or die("Unable to connect to SQL server\n"); mysql_select_db(BUG_DB_NAME); http://cvs.php.net/diff.php/php-bugs-web/lstats.php?r1=1.14&r2=1.15&ty=u Index: php-bugs-web/lstats.php diff -u php-bugs-web/lstats.php:1.14 php-bugs-web/lstats.php:1.15 --- php-bugs-web/lstats.php:1.14 Thu Jan 22 18:27:04 2004 +++ php-bugs-web/lstats.php Thu Jan 22 21:33:31 2004 @@ -1,5 +1,6 @@ <?php /* vim: set noet ts=4 sw=4: : */ +require_once 'config.php'; function status_print ($status, $num, $width, $align='left') { $str = ucfirst($status).":"; $str.= str_repeat(" ", $width - strlen($str) + (($align == 'right') ? (4 - strlen($num)) : 0)); http://cvs.php.net/diff.php/php-bugs-web/report.php?r1=1.47&r2=1.48&ty=u Index: php-bugs-web/report.php diff -u php-bugs-web/report.php:1.47 php-bugs-web/report.php:1.48 --- php-bugs-web/report.php:1.47 Thu Jan 22 18:27:04 2004 +++ php-bugs-web/report.php Thu Jan 22 21:33:31 2004 @@ -1,6 +1,7 @@ <?php /* vim: set noet ts=4 sw=4: : */ require_once 'prepend.inc'; +require_once 'config.php'; require_once 'cvs-auth.inc'; /* When user submits a report, do a search and display the results before allowing http://cvs.php.net/diff.php/php-bugs-web/search.php?r1=1.54&r2=1.55&ty=u Index: php-bugs-web/search.php diff -u php-bugs-web/search.php:1.54 php-bugs-web/search.php:1.55 --- php-bugs-web/search.php:1.54 Thu Jan 22 18:27:04 2004 +++ php-bugs-web/search.php Thu Jan 22 21:33:31 2004 @@ -1,4 +1,5 @@ <?php /* vim: set noet ts=4 sw=4: : */ +require_once 'config.php'; require_once 'prepend.inc'; if (isset($MAGIC_COOKIE) && !isset($user) && !isset($pw)) { http://cvs.php.net/diff.php/php-bugs-web/vote.php?r1=1.7&r2=1.8&ty=u Index: php-bugs-web/vote.php diff -u php-bugs-web/vote.php:1.7 php-bugs-web/vote.php:1.8 --- php-bugs-web/vote.php:1.7 Thu Jan 22 18:27:04 2004 +++ php-bugs-web/vote.php Thu Jan 22 21:33:31 2004 @@ -1,4 +1,5 @@ <?php /* vim: set noet ts=4 sw=4: : */ +require_once 'config.php'; require_once 'prepend.inc'; if (!($id = (int)$id)) { http://cvs.php.net/diff.php/php-bugs-web/rss/bug.php?r1=1.3&r2=1.4&ty=u Index: php-bugs-web/rss/bug.php diff -u php-bugs-web/rss/bug.php:1.3 php-bugs-web/rss/bug.php:1.4 --- php-bugs-web/rss/bug.php:1.3 Thu Jan 22 18:27:05 2004 +++ php-bugs-web/rss/bug.php Thu Jan 22 21:33:32 2004 @@ -10,6 +10,8 @@ $id = (int)$_REQUEST['id']; $format = $_REQUEST['format']; +include 'config.php'; + @mysql_connect(BUG_DB_SERVER, BUG_DB_USER, BUG_DB_PASS) or die("Unable to connect to SQL server."); @mysql_select_db(BUG_DB_NAME); http://cvs.php.net/diff.php/php-bugs-web/scripts/email-bug-summaries?r1=1.5&r2=1.6&ty=u Index: php-bugs-web/scripts/email-bug-summaries diff -u php-bugs-web/scripts/email-bug-summaries:1.5 php-bugs-web/scripts/email-bug-summaries:1.6 --- php-bugs-web/scripts/email-bug-summaries:1.5 Thu Jan 22 18:27:06 2004 +++ php-bugs-web/scripts/email-bug-summaries Thu Jan 22 21:33:33 2004 @@ -1,5 +1,7 @@ #!/usr/local/bin/php -q <?php + + require_once 'config.php'; mysql_connect(BUG_DB_SERVER, BUG_DB_USER, BUG_DB_PASS) or die("Unable to connect to SQL server\n"); mysql_select_db(BUG_DB_NAME); $result = mysql_query("select id,bug_type,status,sdesc,assign from bugdb where status not in ('Closed', 'Bogus', 'Duplicate', 'No Feedback', 'Wont fix') and php_version like '4%' order by bug_type,id"); http://cvs.php.net/diff.php/php-bugs-web/scripts/no-feedback?r1=1.5&r2=1.6&ty=u Index: php-bugs-web/scripts/no-feedback diff -u php-bugs-web/scripts/no-feedback:1.5 php-bugs-web/scripts/no-feedback:1.6 --- php-bugs-web/scripts/no-feedback:1.5 Thu Jan 22 18:27:06 2004 +++ php-bugs-web/scripts/no-feedback Thu Jan 22 21:33:33 2004 @@ -2,6 +2,7 @@ <?php /* vim: set ft=php3 noet ts=4 sw=4 : */ require dirname(__FILE__).'/../include/functions.inc'; +require_once 'config.php'; # this script closes bugs due to lack of feedback.

« previous php.mirrors (#23127) next »