Upgrade to ExtJS 3.2.0 - Released 03/30/2010
[extjs.git] / examples / writer / app.php
1 <?php
2     require('remote/init.php');
3
4     // Get Request
5     $request = new Request(array('restful' => false));
6
7     //echo "<P>request: " . $request->to_string();
8
9     // Get Controller
10     require('remote/app/controllers/' . $request->controller . '.php');
11     $controller_name = ucfirst($request->controller);
12     $controller = new $controller_name;
13
14
15     // Dispatch request
16     echo $controller->dispatch($request);
17