cvs: pearweb /include pear-config.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Tue, 25 Mar 2008 02:40:57 +0000 |
| Subject: | cvs: pearweb /include pear-config.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7385@lists.php.net to get a copy of this message | ||
dufuz Tue Mar 25 02:40:57 2008 UTC
Modified files:
/pearweb/include pear-config.php
Log:
add SITE and SITE_BIG
http://cvs.php.net/viewvc.cgi/pearweb/include/pear-config.php?r1=1.54&r2=1.55&diff_format=u
Index: pearweb/include/pear-config.php
diff -u pearweb/include/pear-config.php:1.54 pearweb/include/pear-config.php:1.55
--- pearweb/include/pear-config.php:1.54 Sat Feb 9 01:10:28 2008
+++ pearweb/include/pear-config.php Tue Mar 25 02:40:57 2008
@@ -13,11 +13,13 @@
* @category pearweb
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: pear-config.php,v 1.54 2008/02/09 01:10:28 dufuz Exp $
+ * @version $Id: pear-config.php,v 1.55 2008/03/25 02:40:57 dufuz Exp $
*/
define ('PEARWEB_TEMPLATEDIR', dirname(dirname(__FILE__)) . '/templates/');
if (isset($_ENV['PEAR_CHANNELNAME']) && $_ENV['PEAR_CHANNELNAME'] !=
'pear.php.net') {
+ define('SITE', $_ENV['SITE']);
+ define('SITE_BIG', strtoupper(SITE));
define('PEAR_CHANNELNAME', $_ENV['PEAR_CHANNELNAME']);
define('PEAR_WEBMASTER_EMAIL', $_ENV['PEAR_WEBMASTER_EMAIL']);
define('PEAR_QA_EMAIL', $_ENV['PEAR_QA_EMAIL']);
@@ -41,6 +43,8 @@
define('PEAR_WIKI_URL', $_ENV['PEAR_WIKI_URL']);
define('PEAR_WIKI_DSN', $_ENV['PEAR_WIKI_DSN']);
} else {
+ define('SITE', 'pear');
+ define('SITEBIG', strtoupper(SITE));
// The channel server name that is used for all info
define('PEAR_CHANNELNAME', 'pear.php.net');
// The channel webmaster email