mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02: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) {
|
foreach ($appnames as $appname) {
|
||||||
$appdir = EGW_INCLUDE_ROOT. "/$appname/inc";
|
$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);
|
$d = dir($appdir);
|
||||||
|
|
||||||
// step through each file in appdir
|
// step through each file in appdir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user