From 4c7912815cd8c52f5e4462c9439ef4db190518eb Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Mon, 19 May 2014 22:27:19 +0200 Subject: [PATCH] More refactorings. --- src/_h5ai/server/php/inc/class-app.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/_h5ai/server/php/inc/class-app.php b/src/_h5ai/server/php/inc/class-app.php index 74ee756e..db5eb367 100644 --- a/src/_h5ai/server/php/inc/class-app.php +++ b/src/_h5ai/server/php/inc/class-app.php @@ -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();