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