mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-31 23:38:20 -04:00
More refactorings.
This commit is contained in:
parent
344c0a8005
commit
4c7912815c
1 changed files with 6 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue