mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-11 15:54:10 +02:00
More refactorings.
This commit is contained in:
@@ -28,6 +28,12 @@ class App {
|
||||
}
|
||||
|
||||
|
||||
public function get_types() {
|
||||
|
||||
return load_commented_json(APP_PATH . "/conf/types.json");
|
||||
}
|
||||
|
||||
|
||||
public function to_url($path, $trailing_slash = true) {
|
||||
|
||||
$rel_path = substr($path, strlen(ROOT_PATH));
|
||||
@@ -191,12 +197,6 @@ class App {
|
||||
}
|
||||
|
||||
|
||||
public function get_types() {
|
||||
|
||||
return load_commented_json(APP_PATH . "/conf/types.json");
|
||||
}
|
||||
|
||||
|
||||
public function get_l10n_list() {
|
||||
|
||||
$langs = array();
|
||||
|
Reference in New Issue
Block a user