[jonah] issue with JONAH_TEMPLATES
steve
smailling at free.fr
Sat May 24 02:58:20 PDT 2003
When I log in, I got this:
Warning: main(C:\devl\horde\config/../templates/menu/menu.inc)
[function.main]: failed to create stream: No such file or directory in
C:\devl\horde\jonah\menu.php on line 12
Fatal error: main() [function.main]: Failed opening required
'C:\devl\horde\config/../templates/menu/menu.inc'
(include_path='.;c:\devl\php4\pear;c:\devl\pear;c:\devl\pear\Log;c:\devl\pear\Mail;c:\devl\pear\DB;c:\devl\pear\Date;c:\devl\pear\File')
in C:\devl\horde\jonah\menu.php on line 12
JONAH_TEMPLATES goes to the /horde/template directorys inestead of
/horde/jonah/templates/
So I don't know what the normal behavior whols be:
- every template files in the same directory
- change :jonah/lib/base.php :
$registry->pushApp('jonah');
$conf = &$GLOBALS['conf'];
@define('JONAH_TEMPLATES', $registry->getParam('templates'));
where we should have
@define('JONAH_TEMPLATES', JONAH_BASE.'/templates');
What do you think?
More information about the jonah
mailing list