-
Notifications
You must be signed in to change notification settings - Fork 0
/
tabrouter.php
44 lines (37 loc) · 835 Bytes
/
tabrouter.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
*
* tabrouter.php - router
*
* AIMSys - Aircraft Inventory and Maintenance System
*
* Loads the bare essentials for loading tabs
*
* Ingenious Design - http://in.genio.us
* Jeremy Bloomstrom | jeremy@in.genio.us
*
* Created: 11/27/2012
* Last Updated: 8/21/2014
*
* Changelog:
* 8/21/2014 - Added comment header
*/
session_start();
/** ** ** ** ** ** ** ** ** **
* INCLUDES
*/
include_once "system/minimal.php";
/** ** ** ** ** ** ** ** ** **
* VALIDATE SESSION
*/
$valid_session = session::_check_session();
/** ** ** ** ** ** ** ** ** **
* LOAD CONTROLLER
*/
if ($valid_session) {
include_once "controllers/main.php";
}
else {
include_once "controllers/login.php";
}
?>