PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_AJAX » Bug #5284

bug manually install js directory

Details

Submitted2005-09-02 19:49 UTC
Frominformazioni at cingusoft dot com
Assigneddavidc
StatusClosed
PackageHTML_AJAX
PHP Version4.3.1
OSlinux red hat
Roadmaps(Not assigned)

Comments

[2005-09-02 19:49 UTC] informazioni at cingusoft dot com

Description:
------------
hi sir.
in my web space i can't download pear and i add manually the library. you project work fine but have little error for configuration of js folder. i have added this little problem.

Test script:
---------------
your SERVER.php script is

/*
*this is the var for location js folder
*/
var $clientJsLocation = false;
.
.
.

/*
* this is the function for locating js folder
*/
function clientJsLocation()
{
if (!$this->clientJsLocation) {
return '@data-dir@'.DIRECTORY_SEPARATOR.'HTML_AJAX'.DIRECTORY_SEPARATOR.'js'.DIRECTORY_SEPARATOR;
} else {
return $this->clientJsLocationRoot; <----- this is the error
}
}

symply change $this->clientJsLocationRoot