Web Interface For Lite Argus Control modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
542 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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();