mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
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