-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
45 lines (39 loc) · 1.04 KB
/
index.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
45
<?php
/**
* @package OctoMS
* @copyright (c) 2011 Mark Jivko https://markjivko.com
* @license GPL v3+ (https://gnu.org/licenses/gpl-3.0.txt)
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* Redistributions of files must retain the above copyright notice.
*
* @version 0.0.1
*/
/**
* Basic application information
*/
define('OCTOMS', '0.0.1'); # the framework version
define('ROOT', dirname(__FILE__)); # the framework root
define('APP_FOLDER', 'app'); # the application folder name (you may change this)
/**
* Location constants
*/
define('DS', DIRECTORY_SEPARATOR);
define('WS', '/');
define('CORE', ROOT . DS . 'core');
/**
* Load the rest of the constants
*/
require_once ROOT . '/core/config/constants.inc';
/**
* Load the bootstrap utility
*/
require_once CORE_LIB . '/octoms' . EXT;
/**
* It's the new OctoMS!
*/
new octoms();
/* End Of File <index.php> */