init.php
上传用户:dawnssy
上传日期:2022-08-06
资源大小:9345k
文件大小:1k
源码类别:

JavaScript

开发平台:

JavaScript

  1. <?php
  2.     session_start();
  3.     // base framework
  4.     require(dirname(__FILE__).'/lib/session_db.php');
  5.     require(dirname(__FILE__).'/lib/application_controller.php');
  6.     require(dirname(__FILE__).'/lib/model.php');
  7.     require(dirname(__FILE__).'/lib/request.php');
  8.     require(dirname(__FILE__).'/lib/response.php');
  9.     // require /models (Should iterate app/models and auto-include all files there)
  10.     require(dirname(__FILE__).'/app/models/user.php');
  11.     // Fake a database connection using _SESSION
  12.     $dbh = new SessionDB();