Commit a4cf17dc authored by Stefan Siegl's avatar Stefan Siegl Committed by Clemens John

fix apiMap spelling; it's written lower camelcase here

parent db5969d4
......@@ -5,7 +5,7 @@
class Api {
function __construct() {
if (isset($_REQUEST['class']) AND isset($_REQUEST['section'])) {
if($_REQUEST['class'] == 'ApiMap' && method_exists($_REQUEST['class'], $_REQUEST['section'])) {
if($_REQUEST['class'] == 'apiMap' && method_exists($_REQUEST['class'], $_REQUEST['section'])) {
eval($_REQUEST['class']."::".$_REQUEST['section']."();");
} else {
echo "Class or section does not exist.";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment