X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/examples/writer/app.php diff --git a/examples/writer/app.php b/examples/writer/app.php new file mode 100644 index 00000000..3400d382 --- /dev/null +++ b/examples/writer/app.php @@ -0,0 +1,17 @@ + false)); + + //echo "

request: " . $request->to_string(); + + // Get Controller + require('remote/app/controllers/' . $request->controller . '.php'); + $controller_name = ucfirst($request->controller); + $controller = new $controller_name; + + + // Dispatch request + echo $controller->dispatch($request); +