forked from bcosca/fatfree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
42 lines (37 loc) · 784 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
40
41
42
<?php
$f3=require('lib/base.php');
$f3->set('DEBUG',2);
$f3->set('UI','ui/');
$f3->set('menu',
array(
'/'=>'Globals',
'/internals'=>'Internals',
'/hive'=>'Hive',
'/lexicon'=>'Lexicon',
'/autoload'=>'Autoloader',
'/redir'=>'Router',
'/cache'=>'Cache Engine',
'/config'=>'Config',
'/view'=>'View',
'/template'=>'Template',
'/markdown'=>'Markdown',
'/unicode'=>'Unicode',
'/audit'=>'Audit',
'/basket'=>'Basket',
'/sql'=>'SQL',
'/mongo'=>'MongoDB',
'/jig'=>'Jig',
'/auth'=>'Auth',
'/log'=>'Log Engine',
'/matrix'=>'Matrix',
'/image'=>'Image',
'/web'=>'Web',
'/geo'=>'Geo',
'/google'=>'Google',
'/openid'=>'OpenID',
'/pingback'=>'Pingback'
)
);
$f3->map('/','App\Globals');
$f3->map('/@controller','App\@controller');
$f3->run();