-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathindex.php
More file actions
30 lines (25 loc) · 1.06 KB
/
index.php
File metadata and controls
30 lines (25 loc) · 1.06 KB
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
<?php
// --------------------------------------------------------------
// Activate output buffering
// --------------------------------------------------------------
ob_start();
// --------------------------------------------------------------
// Record the start timer (for benchmark)
// --------------------------------------------------------------
define('RAKIT_START', microtime(true));
// --------------------------------------------------------------
// Define some useful constants
// --------------------------------------------------------------
define('DS', DIRECTORY_SEPARATOR);
define('CRLF', "\r\n");
define('TAB', "\t");
define('CR', "\r");
define('LF', "\n");
// --------------------------------------------------------------
// Include the framework's path definitions
// --------------------------------------------------------------
require __DIR__ . DS . 'paths.php';
// --------------------------------------------------------------
// Run the framework
// --------------------------------------------------------------
require path('system') . 'boot.php';