-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
42 lines (38 loc) · 1.34 KB
/
config.php
File metadata and controls
42 lines (38 loc) · 1.34 KB
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
/**
* Created by JetBrains PhpStorm.
* User: mathieu
* Date: 7/8/13
* Time: 3:54 PM
* To change this template use File | Settings | File Templates.
*/
namespace Lib;
define('LIB_VERSION_NUMBER', '1.1.5');
define('BASE_DIR', '');
define('CONTROLLER_DIR', BASE_DIR . 'app/controller/');
define('VIEW_DIR', BASE_DIR . 'app/view/');
define('MODEL_DIR', BASE_DIR . 'app/model/');
define('TMODEL_DIR', BASE_DIR . 'app/t_model/');
define('SPMODEL_DIR', BASE_DIR . 'app/sp_model/');
define('CONFIG_DIR', BASE_DIR . 'config/');
define('VENDORS_DIR', BASE_DIR . 'vendors/');
define('LIB_DIR', BASE_DIR . 'lib-micro-muffin/');
define('LIBMODEL_DIR', BASE_DIR . LIB_DIR . '/models/');
define('LIBFORM_DIR', BASE_DIR . LIB_DIR . '/form/');
define('DICO_DIR', BASE_DIR . 'app/l10n/');
define('LIBROUTER_DIR', BASE_DIR . LIB_DIR . '/router/');
define('CONTENT_DIR', BASE_DIR . 'public/content/');
if (!defined('NOAUTOLOAD') || !NOAUTOLOAD) {
Autoloader::addPath(CONTROLLER_DIR);
Autoloader::addPath(VIEW_DIR);
Autoloader::addPath(MODEL_DIR);
Autoloader::addPath(TMODEL_DIR);
Autoloader::addPath(SPMODEL_DIR);
Autoloader::addPath(CONFIG_DIR);
Autoloader::addPath(VENDORS_DIR);
Autoloader::addPath(LIB_DIR);
Autoloader::addPath(LIBMODEL_DIR);
Autoloader::addPath(LIBFORM_DIR);
Autoloader::addPath(DICO_DIR);
Autoloader::addPath(LIBROUTER_DIR);
}