From c7adecdbfeb8b8b3b758369a879ed7fa100c64e1 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sun, 28 Dec 2014 03:22:12 +0100 Subject: [PATCH] Fix. --- src/_h5ai/conf/options.json | 2 +- src/_h5ai/server/php/inc/class-app.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_h5ai/conf/options.json b/src/_h5ai/conf/options.json index fde5a4c3..a6ce5058 100644 --- a/src/_h5ai/conf/options.json +++ b/src/_h5ai/conf/options.json @@ -26,7 +26,7 @@ Options The user selected view size is also stored local in modern browsers so that it will be persistent. - smartBrowsing: use History API if available (no need to reload the whole page) - - theme: name of one of the folders in "_{{pkg.name}}/client/themes", defaults to builtin fallback + - theme: name of one of the folders in "_{{pkg.name}}/images/themes", defaults to "default" - unmanaged: don't manage folders containing one of those files - unmanagedInNewWindow: open unmanaged links in new window/tab */ diff --git a/src/_h5ai/server/php/inc/class-app.php b/src/_h5ai/server/php/inc/class-app.php index 96f371b4..9d31851f 100644 --- a/src/_h5ai/server/php/inc/class-app.php +++ b/src/_h5ai/server/php/inc/class-app.php @@ -54,7 +54,7 @@ class App { public function get_theme() { $theme = $this->options["view"]["theme"]; - $theme_path = APP_PATH . "/client/images/${theme}"; + $theme_path = APP_PATH . "/client/images/themes/${theme}"; $icons = array();