forked from extern/egroupware
Add exception for prereferences app
This commit is contained in:
parent
6121405967
commit
9f21bfbab4
@ -927,8 +927,10 @@
|
||||
while (list(,$appname) = each($order))
|
||||
{
|
||||
$f = PHPGW_SERVER_ROOT . '/' . $appname . '/inc/hook_' . $location . '.inc.php';
|
||||
if (file_exists($f) && $phpgw_info['user']['apps'][$appname])
|
||||
if (file_exists($f) &&
|
||||
($phpgw_info['user']['apps'][$appname]) || ($location == 'preferences'))
|
||||
{
|
||||
//echo '<br>including: ' . $f;
|
||||
include($f);
|
||||
}
|
||||
$completed_hooks[$appname] = True;
|
||||
|
Loading…
Reference in New Issue
Block a user