mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 07:21:04 +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))
|
while (list(,$appname) = each($order))
|
||||||
{
|
{
|
||||||
$f = PHPGW_SERVER_ROOT . '/' . $appname . '/inc/hook_' . $location . '.inc.php';
|
$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);
|
include($f);
|
||||||
}
|
}
|
||||||
$completed_hooks[$appname] = True;
|
$completed_hooks[$appname] = True;
|
||||||
|
Loading…
Reference in New Issue
Block a user