Commit 88ad86f1 authored by jonnybradley's avatar jonnybradley

[FIX] themes: Themes in Multi-tiki "$tikidomain" subdirectories were no longer getting listed

parent f49a9e6e
Pipeline #50492469 failed with stages
in 27 minutes and 46 seconds
......@@ -22,10 +22,10 @@ class ThemeLib extends TikiLib
/*
@return array of folder names in themes directory
*/
function get_themes($theme_base_path = '')
function get_themes($theme_base_path = 'themes')
{
$themes = [];
$list_css = glob("{$theme_base_path}themes/*/css/*.css");
$list_css = glob("{$theme_base_path}/*/css/*.css");
if ($list_css == false) {
return [];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment