I dont know how u implemented this, i guess that not good, cause it is not working, so i decided to write own function.
I replaced this in include file
- $this->FilesPath=dirname($this->GetWebPath(__FILE__));
with this:
- $aURI = explode('/', $_SERVER['SCRIPT_NAME']);
- array_pop($aURI);
- $sURI = implode('/', $aURI);
- $sURI .= '/';
- $sURL = 'http://' . $_SERVER['HTTP_HOST'] . $sURI;
- $this->FilesPath=$sURL.$this->FilesPath;
and now everything is working