projects
/
infodrom
/
hallinta
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4587cdb
)
Use _REQUEST for some general fields
author
Joey Schulze
<joey@infodrom.org>
Sun, 13 Feb 2011 23:08:53 +0000
(
00:08
+0100)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 13 Feb 2011 23:08:53 +0000
(
00:08
+0100)
This will help us later when we want to allow downloading files from
an archive
ajax/ajax.php
patch
|
blob
|
history
diff --git
a/ajax/ajax.php
b/ajax/ajax.php
index
016612f
..
26a5489
100644
(file)
--- a/
ajax/ajax.php
+++ b/
ajax/ajax.php
@@
-305,14
+305,14
@@
function get_infos($mask)
'parameter' => $_POST);
}
-if (empty($_
PO
ST['func']))
+if (empty($_
REQUE
ST['func']))
exit;
-if (empty($_
PO
ST['source']))
+if (empty($_
REQUE
ST['source']))
exit;
connect_db();
-if (load_mask($_
PO
ST['source']) === false) exit;
+if (load_mask($_
REQUE
ST['source']) === false) exit;
$data = array('error' => 'Unknown function');