Ubiquity/controllers/Startup.php 1 location
|
@@ 244-250 (lines=7) @@
|
| 241 |
|
return basename(\dirname ( ROOT )); |
| 242 |
|
} |
| 243 |
|
|
| 244 |
|
public static function reloadConfig(){ |
| 245 |
|
$appDir=\dirname ( ROOT ); |
| 246 |
|
$filename=$appDir."/app/config/config.php"; |
| 247 |
|
self::$config=include($filename); |
| 248 |
|
self::startTemplateEngine(self::$config); |
| 249 |
|
return self::$config; |
| 250 |
|
} |
| 251 |
|
|
| 252 |
|
public static function saveConfig($content){ |
| 253 |
|
$appDir=\dirname ( ROOT ); |
Ubiquity/controllers/traits/StartupConfigTrait.php 1 location
|
@@ 73-79 (lines=7) @@
|
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
|
| 73 |
|
public static function reloadConfig(){ |
| 74 |
|
$appDir=\dirname ( ROOT ); |
| 75 |
|
$filename=$appDir."/app/config/config.php"; |
| 76 |
|
self::$config=include($filename); |
| 77 |
|
self::startTemplateEngine(self::$config); |
| 78 |
|
return self::$config; |
| 79 |
|
} |
| 80 |
|
|
| 81 |
|
public static function saveConfig($content){ |
| 82 |
|
$appDir=\dirname ( ROOT ); |