[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7155] api: allow menuaction in post
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7155] api: allow menuaction in post |
Date: |
Fri, 01 Apr 2011 13:48:13 +0000 |
Revision: 7155
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7155
Author: sigurdne
Date: 2011-04-01 13:48:12 +0000 (Fri, 01 Apr 2011)
Log Message:
-----------
api: allow menuaction in post
Modified Paths:
--------------
trunk/index.php
Modified: trunk/index.php
===================================================================
--- trunk/index.php 2011-04-01 10:43:19 UTC (rev 7154)
+++ trunk/index.php 2011-04-01 13:48:12 UTC (rev 7155)
@@ -40,9 +40,16 @@
$invalid_data = false;
// This is the preliminary menuaction driver for the new multi-layered
design
- if (isset($_GET['menuaction']))
+ if (isset($_GET['menuaction']) || isset($_POST['menuaction']))
{
- list($app,$class,$method) = explode('.',$_GET['menuaction']);
+ if(isset($_GET['menuaction']))
+ {
+ list($app,$class,$method) =
explode('.',$_GET['menuaction']);
+ }
+ else
+ {
+ list($app,$class,$method) =
explode('.',$_POST['menuaction']);
+ }
if (! $app || ! $class || ! $method)
{
$invalid_data = true;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7155] api: allow menuaction in post,
Sigurd Nes <=