mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Don't scan applications that are not available to admin.
This commit is contained in:
parent
af6e0c661d
commit
04c83e9b14
@ -273,7 +273,7 @@ class importexport_helper_functions {
|
||||
|
||||
foreach ($appnames as $appname) {
|
||||
$appdir = EGW_INCLUDE_ROOT. "/$appname/inc";
|
||||
if(!is_dir($appdir)) continue;
|
||||
if(!is_dir($appdir) || !array_key_exists($GLOBALS['egw_info']['apps'], $appdir)) continue;
|
||||
$d = dir($appdir);
|
||||
|
||||
// step through each file in appdir
|
||||
|
Loading…
Reference in New Issue
Block a user