-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
39 lines (33 loc) · 931 Bytes
/
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
<?php
/**
* Motoko - The Better Content Engine
*
* @package Motoko
* @author Luke Strickland <[email protected]>
* @copyright Axxim, LLC 2012
* @link http://motoko.axxim.net
*/
define('PUBLIC', true);
define('DEBUG', false);
/*
*---------------------------------------------------------------
* PHP VERSION CHECK
*---------------------------------------------------------------
*
* Since Motoko is all about evolving PHP, we need to check for
* to make sure it's at least 5.3
*/
if(version_compare(PHP_VERSION, '5.3.0') <= 0) {
exit("Your version of PHP is incorrect, Motoko requires 5.3 (5.4 recommended!).");
}
/*
* --------------------------------------------------------------------
* LOAD MOTOKO
* --------------------------------------------------------------------
*
* And away we go...
*
*/
require_once 'system/core/Motoko.php';
$motoko = new Motoko\Motoko();
/* Location: ./index.php */