projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d4f8a
)
JsonToExcel.php
author
Alan Knowles
<alan@roojs.com>
Mon, 21 Jan 2013 04:10:14 +0000
(12:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 21 Jan 2013 04:10:14 +0000
(12:10 +0800)
JsonToExcel.php
patch
|
blob
|
history
diff --git
a/JsonToExcel.php
b/JsonToExcel.php
index
b087d35
..
8539973
100644
(file)
--- a/
JsonToExcel.php
+++ b/
JsonToExcel.php
@@
-34,8
+34,8
@@
class Pman_Core_JsonToExcel extends Pman
}
function post($fname) {
-
$ml = (int) ini_get('suhosin.post.max_value_length');
- if (empty($_POST['
xml
'])) {
+ $ml = (int) ini_get('suhosin.post.max_value_length');
+ if (empty($_POST['
_json
'])) {
header("HTTP/1.0 400 Internal Server Error");
die( $ml ? "Suhosin Patch enabled - try and disable it!!!" : 'no XML sent');
}