Re: [PHPTAL] safe-mode problem and solution

2008-03-19 Thread Krzysztof Sikorski
The problem is not in your include path but in basedir path. You probably uploaded your phptal libraries into a directory that is forbidden for your scripts. Try running ini_get('open_basedir'); to check what dir is allowed and then move your libraries into that dir or one of its subdirs. Or if yo

Re: [PHPTAL] bug?

2008-03-19 Thread Gosi
Hi Kornel, Kornel Lesinski schrieb: > On 18 Mar 2008, at 22:32, Gosi wrote: > >> i think there is a bug in PHPTAL.php at the executeMacro() method. >> >> the "require_once" at line 338 is missing. >> >> else { >> // call local macro >> require_once $this->getCodePath(); >> $fun = $thi

Re: [PHPTAL] bug?

2008-03-19 Thread Kornel Lesinski
On 18 Mar 2008, at 22:32, Gosi wrote: i think there is a bug in PHPTAL.php at the executeMacro() method. the "require_once" at line 338 is missing. else { // call local macro require_once $this->getCodePath(); $fun = $this->getFunctionName() . '_' . trim($path);