As now LOAD command can include a variable in the source path

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9524 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-10-10 06:45:36 +00:00
parent 47e2ac4931
commit f449aced51

View file

@ -505,7 +505,7 @@
{
$_path = $path;
$fileDir = dirname(strtr(realpath($this->file),'\\','/'));
$fileDir = strtr(realpath(dirname($this->file)),'\\','/');
if($path{0} != '/') $path = strtr(realpath($fileDir.'/'.$path),'\\','/');
// for backward compatibility