PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR_Info » Bug #3389

Pear_info.php directory

Details

Submitted2005-02-06 19:00 UTC
Fromprogiciel_casimir at hotmail dot com
StatusBogus
PackagePEAR_Info
PHP Version5.0.3
OSWindows XP
Roadmaps(Not assigned)

Comments

[2005-02-06 19:00 UTC] progiciel_casimir at hotmail dot com

Description:
------------
Why I must copy the program pear_info.php under c:\PHP5 and I cannot copy under c:\php5\pear\tests? If I put under tests directory the PEAR gif logo is not displayed and the information is not centered on the Web html page. In the two case the informations about PEAR are displayed.

Reproduce code:
---------------
<?php

// Peut-être requis si vous utilisez un modem
// ini_set('default_socket_timeout',600);
// ini_set('max_execution_time',600);
// ini_set('max_input_time',600);

// Chargement du fichier PEAR_Info
require_once 'PEAR/Info.php';

// Si vous devez fixer une valeur pour le http_proxy lors de l'exécution vous
// devez utiliser la commande suivante. Cette commande doit être exécuter avant
// d'instancier l'objet PEAR_Info.
// PEAR_Info::setProxy('votre.proxy.ici');

// La variable optionnelle pear_dir vous permet d'indiquer à quel endroit PEAR a
// été installé dans l'éventualité ou il ne serait pas trouvé.
// $pear_dir = "/path/to/your/pear/files";

// Instanciation l'objet PEAR_Info objet Ex.: $info = new PEAR_Info($pear_dir);
$info = new PEAR_Info();

// Affiche les résultats de PEAR_Info
$info->show();
?>

[2005-02-09 13:43 UTC] progiciel_casimir at hotmail dot com

I can attach a bmp image file. How can I attach an file in the Bug Report utility? The result, It's simple, If you put the PEAR_INFO.PHP file under any PHP5 sub-directory (as /PHP5/PEAR or /PHP5/PEAR/TESTS, the PEAR information is display but is not centered and the PEAR logo does not appear (broken link). Now If you put PEAR_INFO.PHP file directly under PHP5 directory the PEAR credit link does not work, the PEAR information is centered and the PEAR logo is display.

The problem seems to be related to a relative path in this program.

[2005-02-10 05:48 UTC] progiciel_casimir at hotmail dot com

I have none link to give. It's an Intranet. I close the Bug. Thank you.