commit 655368866df590e423b652e92222d842b377a437
parent 84eeec73c953f18126285fa777adbc870e0a1f1b
Author: dankert <devnull@localhost>
Date: Thu, 6 Mar 2008 22:10:41 +0100
Ausgabe von PHPINFO erm?glichen (es wird phpinfo(); aufgerufen).
Diffstat:
3 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/actionClasses/MainmenuAction.class.php b/actionClasses/MainmenuAction.class.php
@@ -75,6 +75,7 @@ class MainmenuAction extends Action
$this->addSubAction( 'memberships',-1 );
$this->addSubAction( 'pw' ,-1 );
$this->addSubAction( 'rights' ,-1 );
+ $this->addSubAction( 'phpinfo' ,-1 );
break;
case 'template':
@@ -410,6 +411,7 @@ class MainmenuAction extends Action
$this->addSubaction('listing');
$this->addSubaction('add' );
+ $this->addSubaction('phpinfo');
if ( $this->getRequestId() > 0 )
{
diff --git a/actionClasses/ProjectAction.class.php b/actionClasses/ProjectAction.class.php
@@ -20,6 +20,9 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// ---------------------------------------------------------------------------
// $Log$
+// Revision 1.19 2008-03-06 21:10:21 dankert
+// Ausgabe von PHPINFO erm?glichen (es wird phpinfo(); aufgerufen).
+//
// Revision 1.18 2007-12-22 00:21:41 dankert
// Funktion f?r Projektbeispiel entfernt.
//
@@ -295,4 +298,15 @@ class ProjectAction extends Action
$this->setTemplateVar('done',true);
}
}
+
+
+
+ /**
+ * Ausgabe PHPINFO.
+ *
+ */
+ function phpinfo()
+ {
+ phpinfo();
+ }
}
\ No newline at end of file
diff --git a/actionClasses/ProjectAction.ini.php b/actionClasses/ProjectAction.ini.php
@@ -1,6 +1,9 @@
admin=true
+[phpinfo]
+direct=true
+
[default]
goto=listing