-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
26 lines (26 loc) · 914 Bytes
/
index.php
File metadata and controls
26 lines (26 loc) · 914 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
<pre><?php
// should be the only file needed, file will change in the future
include __DIR__.'/settings.php';
$_CW->init(
// these args will override settings.php's values
array(
// 0 means we see nothing, 5 means we see every possible error; use your imaginiation for 1-4
'debug_level' => 5,
// accepts production, development, maintenance
'enviroment' => 'development',
// Making this automatic in the future
'index_path' => __DIR__,
// This will allow you to prevent the loading of scripts you don't use that were included by default
'exlcude_modules' =>
array(
// Disables the loading of any CW functions/classes that use the GD Library
'GD_Lib'
),
// This will allow you to load scripts you do use but were not included by default
'inlcude_modules' =>
array(
// Enable CodeIgniter and any CW functions/classes that use it
'CodeIgniter'
)
)
);