X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/examples/restful/app.php diff --git a/examples/restful/app.php b/examples/restful/app.php new file mode 100644 index 00000000..17d24313 --- /dev/null +++ b/examples/restful/app.php @@ -0,0 +1,14 @@ + true)); + + // Get Controller + require('remote/app/controllers/' . $request->controller . '.php'); + $controller_name = ucfirst($request->controller); + $controller = new $controller_name; + + // Dispatch request + echo $controller->dispatch($request); +