Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43532 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14044 invoked from network); 28 Mar 2009 18:07:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Mar 2009 18:07:40 -0000 Authentication-Results: pb1.pair.com header.from=retricek@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=retricek@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.179 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: retricek@gmail.com X-Host-Fingerprint: 209.85.219.179 mail-ew0-f179.google.com Received: from [209.85.219.179] ([209.85.219.179:63360] helo=mail-ew0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/72-34123-B676EC94 for ; Sat, 28 Mar 2009 13:07:39 -0500 Received: by ewy27 with SMTP id 27so1902675ewy.23 for ; Sat, 28 Mar 2009 11:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=hwlcfuyzrFbTsxk2vcwb9hTEFw13AZfINhjDBP7nGqw=; b=Gw/lEGCcot9J+pwLVX6eO75wSb6kAizp3qQAadGgLfAr2+hwqiyBjjhQ1ByOD1UBO6 pKcOt58TuXOtc4sCK1uSscaxi5ENL+x7TDx51C1EfmZVdmxs1hQXSaIUDbW1yR5zbvms 4tqhi6WzitiW+lEsP3obqMBr1ByoHuXZy8+BA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=HNdiz1Q2K+37jqbzDOwZgWfK4oyE35hQ95TuOb+1YanUJpgVSZyh0LjBPikjqh8QxV ag+1MvowQMutGm7LkXzGhaR/rfHFKbZL3kb6uhJwoVKXCyPk2gLFn8lQnYt4UoWz7Wgg 0RblbSrxXzS9/r4eAarSRmBavNfh1n7WxmDGE= MIME-Version: 1.0 Received: by 10.216.28.200 with SMTP id g50mr1159445wea.203.1238263656317; Sat, 28 Mar 2009 11:07:36 -0700 (PDT) Date: Sat, 28 Mar 2009 19:07:36 +0100 Message-ID: <744ffb620903281107n63e1c69fi59f5ceabef86d347@mail.gmail.com> To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Bug tracker code refactoring From: retricek@gmail.com (=?ISO-8859-2?Q?Josef_=A9im=E1nek?=) Hi, I have one question. I'm writing bug tracker README file. There is config.php with MySQL access parametrs (only), but the code is not using them. So i replaced all parametrs in mysql_connection and mysql_select_db functions used in code. Now I can simply write into README file something like : create mysql tables using bugs.sql, edit config.php file with your mysql access ... But there is one problem. Bug tracker have few files in include folder (config.php also), but in code is used only (for example) require_once "prepend.inc" (prepend.inc is in include diretory too). So there should be include folder in php path (or tracker is not working - can't find those files). Is better to write into the README, that include folder must be in php path or to rewrite require_once parameters (using DIRECTORY_SEPARATOR constant and path to include directory) ?