forked from packfire-archived/packfire-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
24 lines (18 loc) · 669 Bytes
/
index.php
File metadata and controls
24 lines (18 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
* This is not the directory of the web application root.
* Instead, the web application root folder is in the public folder relative to
* this file.
*
* Visitors to this file will be redirected to the public folder.
*/
define('__PACKFIRE_PATH__', pathinfo(__FILE__, PATHINFO_DIRNAME) .
DIRECTORY_SEPARATOR . 'packfire' . DIRECTORY_SEPARATOR);
define('__APP_ROOT__', __PACKFIRE_PATH__ . 'setup' . DIRECTORY_SEPARATOR);
define('__ENVIRONMENT__', 'setup');
if(include(__PACKFIRE_PATH__ . '/Packfire.php')){
pload('app.pSetupHttpApplication');
$packfire = new Packfire();
$packfire->fire(new pSetupHttpApplication());
}else{
}