forked from extern/egroupware
use framework->template_dir for the template directory to support templates packaged like apps
This commit is contained in:
parent
b5179882ab
commit
7e17d5f4ce
@ -112,7 +112,7 @@
|
||||
/* Here we include the settings hook file for the current template, if it exists.
|
||||
This is not handled by the hooks class and is only valid if not using xml-rpc.
|
||||
*/
|
||||
$tmpl_settings = EGW_TEMPLATE_DIR . '/hook_settings.inc.php';
|
||||
$tmpl_settings = EGW_SERVER_ROOT.$GLOBALS['egw']->framework->template_dir.'/hook_settings.inc.php';
|
||||
if($this->appname == 'preferences' && file_exists($tmpl_settings))
|
||||
{
|
||||
include($tmpl_settings);
|
||||
|
Loading…
Reference in New Issue
Block a user