mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Allow applications with setup in their name to be setup
This commit is contained in:
parent
5f9104250b
commit
c53cf5cee5
@ -17,7 +17,7 @@ class setup_detection
|
||||
$d = dir(EGW_SERVER_ROOT);
|
||||
while($entry=$d->read())
|
||||
{
|
||||
if($entry != ".." && !ereg('setup',$entry) && is_dir(EGW_SERVER_ROOT . '/' . $entry))
|
||||
if($entry != ".." && $entry != 'setup' && is_dir(EGW_SERVER_ROOT . '/' . $entry))
|
||||
{
|
||||
$f = EGW_SERVER_ROOT . '/' . $entry . '/setup/setup.inc.php';
|
||||
if (@file_exists ($f))
|
||||
|
Loading…
Reference in New Issue
Block a user