com web/pecl: remove unused config: include/pear-config.php

From: Date: Mon, 30 Mar 2015 06:29:29 +0000
Subject: com web/pecl: remove unused config: include/pear-config.php
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-21986@lists.php.net to get a copy of this message
Commit: 1846f6863b76d7c9b12cc83cca8a59df28f5271c Author: Pierre Joye <pierre.php@gmail.com> Mon, 30 Mar 2015 08:29:29 +0200 Parents: 5deec2b19120a1d817cdcf4a08bb6c9da0cc6715 Branches: master Link: http://git.php.net/?p=web/pecl.git;a=commitdiff;h=1846f6863b76d7c9b12cc83cca8a59df28f5271c Log: remove unused config Changed paths: M include/pear-config.php Diff: diff --git a/include/pear-config.php b/include/pear-config.php index b584d3e..7664764 100644 --- a/include/pear-config.php +++ b/include/pear-config.php @@ -20,11 +20,9 @@ if (isset($_SERVER['PEAR_TMPDIR'])) { define('PEAR_TMPDIR', $_SERVER['PEAR_TMPDIR']); - define('PEAR_CVS_TMPDIR', $_SERVER['PEAR_TMPDIR'].'/cvs'); define('PEAR_UPLOAD_TMPDIR', $_SERVER['PEAR_TMPDIR'].'/uploads'); } else { define('PEAR_TMPDIR', '/var/tmp/pear'); - define('PEAR_CVS_TMPDIR', '/var/tmp/pear/cvs'); define('PEAR_UPLOAD_TMPDIR', '/var/tmp/pear/uploads'); } @@ -67,22 +65,6 @@ if (isset($_SERVER['PEAR_REST_DIR'])) { define('PEAR_REST_DIR', '/var/lib/peclweb/rest'); } -if (isset($_SERVER['PEAR_PATCHES'])) { - define('PEAR_PATCHES', $_SERVER['PEAR_PATCHES']); -} else { - define('PEAR_PATCHES', '/var/lib/pear/patches/'); -} -if (isset($_SERVER['PEAR_CVS'])) { - define('PEAR_CVS', $_SERVER['PEAR_CVS']); -} else { - define('PEAR_CVS', '/var/lib/pear/patches/cvs/'); -} -if (isset($_SERVER['PHP_CVS_REPO_DIR'])) { - define('PHP_CVS_REPO_DIR', $_SERVER['PHP_CVS_REPO_DIR']); -} else { - define('PHP_CVS_REPO_DIR', '/repository/pear'); -} - define('PEAR_COMMON_USER_NAME_REGEX', '/^[a-z][a-z0-9]+$/i'); define('PEAR_CHANNELNAME', 'pecl.php.net');

« previous php.pecl.cvs (#21986) next »