|
6 | 6 | define( "RAINFRAMEWORK_VERSION", "Rain Framework 2.2" ); |
7 | 7 |
|
8 | 8 |
|
9 | | -//------------------------------------------------------------- |
10 | | -// |
11 | | -// Directories |
12 | | -// |
13 | | -//------------------------------------------------------------- |
14 | | - |
15 | | - define( "BASE_DIR", dirname( $_SERVER['SCRIPT_NAME'] ) . "/" ); |
16 | | - |
17 | | - define( "APPLICATION_DIR", "$application/" ); |
18 | | - define( "LIBRARY_DIR", "library/" ); |
19 | | - |
20 | | - define( "EXTENSION_DIR", "library/extension/" ); |
21 | | - define( "WEB_DIR", "library/web/" ); |
22 | | - define( "JAVASCRIPT_DIR", "library/web/js/" ); |
23 | | - define( "CSS_DIR", "library/web/css/" ); |
24 | | - |
25 | | - define( "CONTROLLERS_DIR", "$application/controllers/" ); |
26 | | - define( "MODELS_DIR", "$application/models/" ); |
27 | | - define( "VIEWS_DIR", "$application/views/" ); |
28 | | - |
29 | | - define( "CONFIG_DIR", "$application/config/" ); |
30 | | - define( "LANGUAGE_DIR", "$application/language/" ); |
31 | | - define( "LOG_DIR", "$application/log/" ); |
32 | | - define( "MODULES_DIR", "$application/modules/" ); |
33 | | - define( "CACHE_DIR", "$application/cache/" ); //temp dir |
34 | | - define( "UPLOADS_DIR", "$application/uploads/" ); |
35 | | - define( "APPLICATION_LIBRARY_DIR", "$application/library/" ); |
36 | | - |
37 | | - |
38 | 9 |
|
39 | 10 |
|
40 | 11 | //------------------------------------------------------------- |
|
0 commit comments