forked from TypeRocket/typerocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.php
More file actions
25 lines (22 loc) · 679 Bytes
/
init.php
File metadata and controls
25 lines (22 loc) · 679 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
<?php
/*
|--------------------------------------------------------------------------
| TypeRocket by Robojuice
|--------------------------------------------------------------------------
|
| TypeRocket is designed to work with WordPress 4.5+ and PHP 5.5+. You
| must initialize it exactly once. We suggest including TypeRocket
| from your theme and let plugins access TypeRocket from there.
|
| Happy coding!
|
| http://typerocket.com
|
*/
define('TR_APP_NAMESPACE', 'App');
define('TR_PATH', __DIR__ );
require __DIR__ . '/vendor/autoload.php';
new \TypeRocket\Core\Config( __DIR__ . '/config');
if( defined('WPINC') ) {
( new \TypeRocket\Core\Launcher() )->initCore();
}