init.php
资源名称:ext-3.0.0.zip [点击查看]
上传用户:shuoshiled
上传日期:2018-01-28
资源大小:10124k
文件大小:1k
源码类别:
中间件编程
开发平台:
JavaScript
- <?php
- session_start();
- // base framework
- require(dirname(__FILE__).'/lib/session_db.php');
- require(dirname(__FILE__).'/lib/application_controller.php');
- require(dirname(__FILE__).'/lib/model.php');
- require(dirname(__FILE__).'/lib/request.php');
- require(dirname(__FILE__).'/lib/response.php');
- // require /models (Should iterate app/models and auto-include all files there)
- require(dirname(__FILE__).'/app/models/user.php');
- // Fake a database connection using _SESSION
- $dbh = new SessionDB();