summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 037c56a)
raw | patch | inline | side by side (parent: 037c56a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 Apr 2007 12:49:43 +0000 (12:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 Apr 2007 12:49:43 +0000 (12:49 +0000) |
Initial checkin, this is not the best solution.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6206 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6206 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setup.inc | patch | blob | history |
diff --git a/setup/class_setup.inc b/setup/class_setup.inc
index 700ea7761d84047d0aa46178782eedcf07b323e6..d1d73fb8ae7c778ea78f4777e4f28c33eac36707 100644 (file)
--- a/setup/class_setup.inc
+++ b/setup/class_setup.inc
function execute()
{
+ /* Display phpinfo() dialog when $_GET['info'] is set,
+ * 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()){
+ phpinfo();
+ }
+
/* display step error msgs */
$msgs = $this->o_steps[$this->i_current]->check();
foreach($msgs as $msg){