Re: svn: /web/pecl/trunk/ include/pear-prepend.php public_html/error/404.php public_html/package-changelog.php public_html/package-info.php
public_html/package-stats.php
| From: | Pierre Joye | Date: | Tue, 06 Dec 2011 23:44:14 +0000 |
| Subject: | Re: svn: /web/pecl/trunk/ include/pear-prepend.php public_html/error/404.php public_html/package-changelog.php public_html/package-info.php public_html/package-stats.php |
||
| References: | 1 | Groups: | php.pecl.cvs |
| Request: | Send a blank email to pecl-cvs+get-17280@lists.php.net to get a copy of this message | ||
not sure why you change that now and here. This branch is not used
anymore and won't be used anymore.
On Wed, Dec 7, 2011 at 12:40 AM, Ferenc Kovacs <tyrael@php.net> wrote:
> tyrael Tue, 06 Dec 2011 23:40:25 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=320528
>
> Log:
> fix the dependencies, it is safer to include them through include/pear-prepend.php, as package
> and category are "hidden" dependencies in some files(for example through
> include/pear-database.php)
>
> Changed paths:
> U web/pecl/trunk/include/pear-prepend.php
> U web/pecl/trunk/public_html/error/404.php
> U web/pecl/trunk/public_html/package-changelog.php
> U web/pecl/trunk/public_html/package-info.php
> U web/pecl/trunk/public_html/package-stats.php
>
> Modified: web/pecl/trunk/include/pear-prepend.php
> ===================================================================
> --- web/pecl/trunk/include/pear-prepend.php 2011-12-06 23:36:32 UTC (rev 320527)
> +++ web/pecl/trunk/include/pear-prepend.php 2011-12-06 23:40:25 UTC (rev 320528)
> @@ -46,6 +46,8 @@
> include_once "DB/storage.php";
> include_once "pear-auth.php";
> include_once "pear-database.php";
> +include_once "pear-database-category.php";
> +include_once "pear-database-package.php";
> include_once "pear-rest.php";
>
> function get($name)
>
> Modified: web/pecl/trunk/public_html/error/404.php
> ===================================================================
> --- web/pecl/trunk/public_html/error/404.php 2011-12-06 23:36:32 UTC (rev 320527)
> +++ web/pecl/trunk/public_html/error/404.php 2011-12-06 23:40:25 UTC (rev 320528)
> @@ -18,8 +18,6 @@
> $Id$
> */
>
> -include PECL_INCLUDE_DIR . '/pear-database-package.php';
> -
> /**
> * On 404 error this will search for a package with the same
> * name as the requested document. Thus enabling urls such as:
>
> Modified: web/pecl/trunk/public_html/package-changelog.php
> ===================================================================
> --- web/pecl/trunk/public_html/package-changelog.php 2011-12-06 23:36:32 UTC (rev 320527)
> +++ web/pecl/trunk/public_html/package-changelog.php 2011-12-06 23:40:25 UTC (rev 320528)
> @@ -17,7 +17,6 @@
> +----------------------------------------------------------------------+
> $Id$
> */
> -include PECL_INCLUDE_DIR . '/pear-database-package.php';
>
> $pacid = filter_input(INPUT_GET, 'package', FILTER_SANITIZE_STRING);
> if (!$pacid) {
>
> Modified: web/pecl/trunk/public_html/package-info.php
> ===================================================================
> --- web/pecl/trunk/public_html/package-info.php 2011-12-06 23:36:32 UTC (rev 320527)
> +++ web/pecl/trunk/public_html/package-info.php 2011-12-06 23:40:25 UTC (rev 320528)
> @@ -18,7 +18,6 @@
> +----------------------------------------------------------------------+
> $Id$
> */
> -include PECL_INCLUDE_DIR . '/pear-database-package.php';
>
> $package = filter_input(INPUT_GET, 'package', FILTER_SANITIZE_STRING);
> $version = filter_input(INPUT_GET, 'version', FILTER_SANITIZE_STRING);
>
> Modified: web/pecl/trunk/public_html/package-stats.php
> ===================================================================
> --- web/pecl/trunk/public_html/package-stats.php 2011-12-06 23:36:32 UTC (rev
> 320527)
> +++ web/pecl/trunk/public_html/package-stats.php 2011-12-06 23:40:25 UTC (rev
> 320528)
> @@ -25,8 +25,6 @@
> . reduce traffic, reduce cpu&mem usage
> */
>
> -include PECL_INCLUDE_DIR . '/pear-database-package.php';
> -
> response_header('Package Statistics');
> ?>
>
>
>
> --
> PECL CVS Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org