11 lines
225 B
PHP

<?php
isset($_REQUEST['q']) ? $q = $_REQUEST['q'] : $q = '';
$params = explode('/', $q);
$action = $params[0];
switch ($action){
case 'methodfield':
require_once realpath(dirname(__FILE__)).'/methodfield.php';
break;
}