Code

Updated setup
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 May 2007 12:25:13 +0000 (12:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 May 2007 12:25:13 +0000 (12:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6401 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setup.inc

index 069628a3e60caec4f121d8d33e671aba7b6e15b6..9fd17ee2ffa0e213355fcdcc643a44fee691ded9 100644 (file)
@@ -79,7 +79,7 @@ class setup
      *  but only do this, if user is allowed to use the setup.
      * If setupStep_Welcome is_completed, we are allowed to view those infos-
      */
-    if(isset($_GET['info']) && get_class($this->o_steps[1]) == "Step_Welcome" && $this->o_steps[1]->is_completed()){
+    if(isset($_GET['info']) &&  preg_match("/Step_Welcome/i",get_class($this->o_steps[1])) && $this->o_steps[1]->is_completed()){
       phpinfo();
       exit();
     }