com web/pecl: only one format now: include/pear-prepend.php
| From: | Pierre Joye | Date: | Tue, 31 Mar 2015 07:25:21 +0000 |
| Subject: | com web/pecl: only one format now: include/pear-prepend.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-21997@lists.php.net to get a copy of this message | ||
Commit: 0d8c0f1f6e58d97555d690d763fa9d65ee1373db
Author: Pierre Joye <pierre.php@gmail.com> Tue, 31 Mar 2015 09:25:21 +0200
Parents: 1838546aa03e5b2a9161571c3023158b43c4d986
Branches: master
Link: http://git.php.net/?p=web/pecl.git;a=commitdiff;h=0d8c0f1f6e58d97555d690d763fa9d65ee1373db
Log:
only one format now
Changed paths:
M include/pear-prepend.php
Diff:
diff --git a/include/pear-prepend.php b/include/pear-prepend.php
index cc6f794..1ca64aa 100644
--- a/include/pear-prepend.php
+++ b/include/pear-prepend.php
@@ -28,12 +28,7 @@ if (isset($_SERVER['SERVER_NAME']) &&
$_SERVER['SERVER_NAME'] != 'pecl.php.net')
}
require_once "PEAR.php";
-
-if (empty($format)) {
- $format = "html";
-}
-
-include_once "pear-format-$format.php";
+include_once "pear-format-html.php";
include_once "DB.php";
include_once "DB/storage.php";