mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-03-24 14:30:03 +01:00
More refactorings.
This commit is contained in:
parent
344c0a8005
commit
4c7912815c
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user