-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgleam.php
More file actions
29 lines (20 loc) · 797 Bytes
/
gleam.php
File metadata and controls
29 lines (20 loc) · 797 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
25
26
27
28
29
<?php
use Bright\Bright;
function pretty_var_dump($var){
highlight_string("<?php \$data = " . var_export($var, true) . "; ?>\n");
}
define('BASE_DIR', __DIR__);
define('DEV_SUBDIR', '/dev');
define('GEARS_SUBDIR', '/gears');
define('EXTRAGEARS_SUBDIR', GEARS_SUBDIR . '/extra');
define('DRAFT_SUBDIR', '/draft');
define('CORE_SUBDIR', '/core');
define('EMBEDDED_DIR', BASE_DIR . '/embedded');
define('BASEMOUNTS_SUBDIR', GEARS_SUBDIR . '/bases');
define('DEPLOY_SUBDIR', '/web');
define('DEFAULT_PAGE_PATH', 'index');
///////////////////////////////////////////////////////////////////////////////////
require 'embedded/classLoader/start-class-loader.php';
$bright = new Bright();
///////////////////////////////////////////////////////////////////////////////////
$bright->lightUp();