go to bug id or search bugs for
If you compile a "file1.php" which requires a file "file2.php" whith a relative
path, a bug appears if you change path of script.
In "/www/file1.php" :
include('file2.php'); //relative path
After compiling :
- if you execute "php -q /www/file1.php" >> no error
- if you move "www" to "wwwtest" and execute "php -q /wwwtest/file1.php" >> error :
"PHP Fatal error: require_once(): Failed .........in /www/file1.php".
Paths are wrote on hard in the compiled file...
Add a Patch
Add a Pull Request
While path are wrote on hard the compiled file isn't movable.
try to use bcompiler_write_included_filename for adding empty or relative paths.
this function is documented at source code's bcompiler.xml (maybe only trunk)
Suspending this report as the extension have not had a release for almost 6 years. Please revive this if the extension once again shows life