Home » HTML » HTML_AJAX » Bug #5284
bug manually install js directory
Details
| Submitted | 2005-09-02 19:49 UTC |
|---|---|
| From | informazioni at cingusoft dot com |
| Assigned | davidc |
| Status | Closed |
| Package | HTML_AJAX |
| PHP Version | 4.3.1 |
| OS | linux 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