Home » PEAR » PEAR_Frontend_Web » Bug #1625
Wrong display of conf file
Details
| Submitted | 2004-06-12 16:38 UTC |
|---|---|
| From | cox at idecnet dot com |
| Assigned | pajoye |
| Status | Closed |
| Package | PEAR_Frontend_Web |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-06-12 16:38 UTC] cox at idecnet dot com
Description:
------------
In Configuration the webinstaller shows the wrong path of the file being used.
Patch for WebInstaller.php:
define('USE_DHTML_PROGRESS', (@$useDHTML && $_SESSION['_PEAR_Frontend_Web_js']));
- if (!isset($pear_user_config)) {
- $pear_user_config = dirname(__FILE__)."/pear.conf";
- }
// Init PEAR Installer Code and WebFrontend
+ if (!isset($pear_user_config)) {
+ $pear_user_config = PEAR_CONFIG_SYSCONFDIR . DIRECTORY_SEPARATOR . 'pear.conf';
+ }
Tomas V.V.Cox
[2004-06-13 13:52 UTC] pierre at dotgeek dot org
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.