From c53cf5cee5609e92741d4703594abe00adb52454 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 27 Feb 2008 16:07:35 +0000 Subject: [PATCH] Allow applications with setup in their name to be setup --- setup/inc/class.setup_detection.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/inc/class.setup_detection.inc.php b/setup/inc/class.setup_detection.inc.php index 6851ec5ffe..c747c8242a 100755 --- a/setup/inc/class.setup_detection.inc.php +++ b/setup/inc/class.setup_detection.inc.php @@ -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))