Re[2]: [pear-webmaster] WebSite structure questions
| From: | anatoly techtonik | Date: | Wed, 08 Dec 2004 18:02:29 +0000 |
| Subject: | Re[2]: [pear-webmaster] WebSite structure questions | ||
| References: | 1 2 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-3513@lists.php.net to get a copy of this message | ||
Hello Helgi,
From Tuesday, December 7, 2004, 10:56:01 PM, you wrote:
HЮ> On Tue, 2004-12-07 at 20:30, anatoly techtonik wrote:
>> Hello pear-webmaster,
>>
>> I'm investigating bug system sources checked out from CVS pearweb/
>> I can't figure out where from $dbh variable is set up and how
>> function response_header() from include/pear-format-html.php can be
>> called in public_html/bugs/search.php without any include or require
>> constructs.
>> Is there any descriptinon of pear web site model?
HЮ> Would be useful if you looked into the /doc part of pearweb folder,
HЮ> there you find some apache configuration things and more.
Still can't figure how http://pear.php.net/package/XML_RPC
works. And how http://pear.php.net/package/XML_RPC/bugs
is got redirected to http://pear.php.net/bugs/search.php
doc/apache-setup.txt is silent on that matter.
Trying to find a proper place for patch
on http://pear.php.net/bugs/bug.php?id=2747
Can you check if it is a proper patch?
Actually, I don't want to submit it, just interested.
I've got another idea how to increase usability of this issue =)
--- D:\public_html\bugs\search_old.php Sun Oct 31 17:02:06 2004
+++ D:\public_html\bugs\search.php Wed Dec 08 19:40:08 2004
@@ -77,9 +77,7 @@
$query .= ' bugdb.*, TO_DAYS(NOW())-TO_DAYS(bugdb.ts2) AS unchanged'
. ' FROM bugdb';
- if (!empty($site)) {
- $query .= ' LEFT JOIN packages ON packages.name = bugdb.package_name';
- } elseif (!empty($_GET['maintain']) || !empty($_GET['handle'])) {
+ if (!empty($site) || !empty($_GET['maintain']) || !empty($_GET['handle']))
{
$query .= ' LEFT JOIN packages ON packages.name = bugdb.package_name';
}
@@ -127,7 +125,7 @@
* to treat assigned, analyzed, critical and verified bugs as open
*/
if (empty($_GET['status'])) {
- $status = 'Open';
+ $status = 'All';
} else {
$status = $_GET['status'];
}
t
--