mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 18:31:26 +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);
|
$d = dir(EGW_SERVER_ROOT);
|
||||||
while($entry=$d->read())
|
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';
|
$f = EGW_SERVER_ROOT . '/' . $entry . '/setup/setup.inc.php';
|
||||||
if (@file_exists ($f))
|
if (@file_exists ($f))
|
||||||
|
Loading…
Reference in New Issue
Block a user