forked from extern/egroupware
Patch from kevindouglas@yahoo.com to re-enable the most recent change here (error when selecting idsociety template, etc.)
This commit is contained in:
parent
626be11f90
commit
bade598435
@ -383,8 +383,9 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
// $new_root = str_replace($GLOBALS['phpgw_info']['server']['template_set'],'default',$root);
|
||||
// $new_root = substr($root, 0, strrpos($root, $GLOBALS['phpgw_info']['server']['template_set'])).'default';
|
||||
$new_root = str_replace($GLOBALS['phpgw_info']['server']['template_set'],'default',$root);
|
||||
$new_root = substr($root, 0, strlen($root) - strlen($GLOBALS['phpgw_info']['server']['template_set'])) . 'default';
|
||||
$new_filename = $this->filename(str_replace($root.'/','',$new_filename),$new_root,2);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user