diff options
author | michael | 2011-11-22 12:02:39 +0100 |
---|---|---|
committer | michael | 2011-11-22 12:02:39 +0100 |
commit | 717a89082fb1a9d3a3cfbff457e2c63667bc546e (patch) | |
tree | 45700c3799b4c5ebc2f481d1265f540be8cbe7e5 | |
parent | fbgui debug (diff) | |
download | pbs2-717a89082fb1a9d3a3cfbff457e2c63667bc546e.tar.gz pbs2-717a89082fb1a9d3a3cfbff457e2c63667bc546e.tar.xz pbs2-717a89082fb1a9d3a3cfbff457e2c63667bc546e.zip |
fbgui debug
-rw-r--r-- | application/modules/fbgui/controllers/IndexController.php | 4 | ||||
-rw-r--r-- | scripts/fbgui-test.html | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index 3b71921..ccc15d6 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -37,8 +37,10 @@ class Fbgui_IndexController extends Zend_Controller_Action { $mySession = new Zend_Session_Namespace('pbs'); + + if(count($mySession->postdata)<=0){ - $mySession->postdata = $_GET; + $mySession->postdata = $_POST; } $result = $this->_request->getParam('notify'); diff --git a/scripts/fbgui-test.html b/scripts/fbgui-test.html index b89df3b..34dfdec 100644 --- a/scripts/fbgui-test.html +++ b/scripts/fbgui-test.html @@ -7,10 +7,10 @@ </style> <body> <fieldset> - <legend>http://132.230.4.27/</legend> - <form action='http://132.230.4.27/' method='post'> + <legend>http://pbs2.mp.openslx.org/</legend> + <form action='http://pbs2.mp.openslx.org/' method='post'> <label>serialnumber</label> - <input type='text' name='serialnumber' value='10-20-30-40-50'><br /> + <input type='text' name='serialnumber' value='11-22-33-44-55'><br /> <label>Mac</label> <input type='text' name='mac' value='00:0c:29:01:63:88'><br /> <label>Hardwarehash</label> @@ -31,10 +31,10 @@ </form> </fieldset> <fieldset> - <legend>http://132.230.4.27/fbgui/index/</legend> - <form action='http://132.230.4.27/fbgui/index/' method='post'> + <legend>http://pbs2.mp.openslx.org/fbgui/index/</legend> + <form action='http://pbs2.mp.openslx.org/fbgui/index/' method='post'> <label>serialnumber</label> - <input type='text' name='serialnumber' value='10-20-30-40-50'><br /> + <input type='text' name='serialnumber' value='11-22-33-44-55'><br /> <label>Mac</label> <input type='text' name='mac' value='00:0c:29:01:63:88'><br /> <label>Hardwarehash</label> |