-
Notifications
You must be signed in to change notification settings - Fork 16
/
app.php
38 lines (34 loc) · 905 Bytes
/
app.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
<?php
$config = array();
$config['modules'] = array(
'active_modules' => array(
'Framework',
'Application',
'UserModule',
'BlogModule',
'PPI\ComposerModule'
),
'module_listener_options' => array(
'cache_dir' => '%app.cache_dir%',
'config_cache_enabled' => false,
'config_cache_key' => '%app.name%',
'module_map_cache_enabled' => false,
'module_map_cache_key' => '%app.name%',
'module_paths' => array(
'./modules',
'./vendor'
)
),
);
$config['framework'] = array(
'templating' => array(
'engines' => array('php'),
),
'skeleton_module' => array(
'path' => './utils/skeleton_module'
)
);
$config['datasource'] = array(
'connections' => require __DIR__ . '/datasource.php'
);
return $config;