Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / examples / restful / remote / init.php
1 <?php
2     session_start();
3
4     // base framework
5     require(dirname(__FILE__).'/lib/session_db.php');
6     require(dirname(__FILE__).'/lib/application_controller.php');
7     require(dirname(__FILE__).'/lib/model.php');
8     require(dirname(__FILE__).'/lib/request.php');
9     require(dirname(__FILE__).'/lib/response.php');
10
11     // require /models (Should iterate app/models and auto-include all files there)
12     require(dirname(__FILE__).'/app/models/user.php');
13
14     // Fake a database connection using _SESSION
15     $dbh = new SessionDB();
16
17