More refactorings.

This commit is contained in:
Lars Jung 2014-05-19 22:27:19 +02:00
parent 344c0a8005
commit 4c7912815c

View File

@ -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();