... | ... |
@@ -10,4 +10,20 @@ class Config{ |
10 | 10 |
public function getRouting(){ |
11 | 11 |
return new \app\config\routing(); |
12 | 12 |
} |
13 |
+ |
|
14 |
+ public function getBaseDirectory(){ |
|
15 |
+ return _L3_BASE_PATH; |
|
16 |
+ } |
|
17 |
+ |
|
18 |
+ public function getApplicationDirectory(){ |
|
19 |
+ return "app"; |
|
20 |
+ } |
|
21 |
+ |
|
22 |
+ public function getControllersDirectory(){ |
|
23 |
+ return "controllers"; |
|
24 |
+ } |
|
25 |
+ |
|
26 |
+ public function getViewsDirectory(){ |
|
27 |
+ return "views"; |
|
28 |
+ } |
|
13 | 29 |
} |
14 | 30 |
\ No newline at end of file |