cvs: pear /PEAR_Frontend_Web WebInstaller.php /PEAR_Frontend_Web/docs example.php
| From: | Christian Dickmann | Date: | Tue, 03 Dec 2002 21:01:46 +0000 |
| Subject: | cvs: pear /PEAR_Frontend_Web WebInstaller.php /PEAR_Frontend_Web/docs example.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7735@lists.php.net to get a copy of this message | ||
dickmann Tue Dec 3 16:01:46 2002 EDT
Modified files:
/pear/PEAR_Frontend_Web/docs example.php
/pear/PEAR_Frontend_Web WebInstaller.php
Log:
small fix for minor problems
Index: pear/PEAR_Frontend_Web/docs/example.php
diff -u pear/PEAR_Frontend_Web/docs/example.php:1.6 pear/PEAR_Frontend_Web/docs/example.php:1.7
--- pear/PEAR_Frontend_Web/docs/example.php:1.6 Sun Jun 30 17:15:10 2002
+++ pear/PEAR_Frontend_Web/docs/example.php Tue Dec 3 16:01:46 2002
@@ -24,7 +24,7 @@
// Rebuild Includepath (optional)
$include_path = array(
- '.',
+// '.', // disabled to avoid conflict with PEAR::Config
dirname(__FILE__).'/PEAR',
);
ini_set('include_path', implode($seperator, $include_path));
Index: pear/PEAR_Frontend_Web/WebInstaller.php
diff -u pear/PEAR_Frontend_Web/WebInstaller.php:1.25 pear/PEAR_Frontend_Web/WebInstaller.php:1.26
--- pear/PEAR_Frontend_Web/WebInstaller.php:1.25 Wed Sep 4 04:46:52 2002
+++ pear/PEAR_Frontend_Web/WebInstaller.php Tue Dec 3 16:01:46 2002
@@ -16,7 +16,7 @@
| Author: Christian Dickmann <dickmann@php.net> |
+----------------------------------------------------------------------+
- $Id: WebInstaller.php,v 1.25 2002/09/04 08:46:52 dickmann Exp $
+ $Id: WebInstaller.php,v 1.26 2002/12/03 21:01:46 dickmann Exp $
*/
define('PEAR_Frontend_Web',1);
@session_start();
@@ -27,7 +27,11 @@
if (isset($_GET['enableJS']) && $_GET['enableJS'] == 1) {
$_SESSION['_PEAR_Frontend_Web_js'] = true;
};
- define('USE_DHTML_PROGRESS', ($useDHTML &&
$_SESSION['_PEAR_Frontend_Web_js']));
+ define('USE_DHTML_PROGRESS', (@$useDHTML &&
$_SESSION['_PEAR_Frontend_Web_js']));
+ if (!isset($pear_user_config)) {
+ $pear_user_config = dirname(__FILE__)."/pear.conf";
+ };
+
// Include needed files
require_once 'PEAR.php';