summaryrefslogtreecommitdiff
path: root/src/application/actions/ctheme
diff options
context:
space:
mode:
authorJonas Kohl2024-10-15 16:01:32 +0200
committerJonas Kohl2024-10-15 16:01:32 +0200
commite0e89b9fdbf301e0ead944636023947a67aca57d (patch)
treecfaba505852996d7b3c1e62ec19376fdcfbdd3dd /src/application/actions/ctheme
parent80dc53d81f648609a1a34f468cd31c3bf752dc3d (diff)
Move themes to different folder
Diffstat (limited to 'src/application/actions/ctheme')
-rw-r--r--src/application/actions/ctheme/get.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application/actions/ctheme/get.php b/src/application/actions/ctheme/get.php
index f58b0bf..79f6353 100644
--- a/src/application/actions/ctheme/get.php
+++ b/src/application/actions/ctheme/get.php
@@ -34,8 +34,8 @@ if (!preg_match('/^[a-z0-9_-]+$/i', $themeName)) {
$cssWarning($buffer, "Loading default theme");
$themeName = "default";
}
-$themePath = __ROOT__ . '/themes/' . $themeName . '/theme.json';
-$themeDefaultPath = __ROOT__ . '/themes/default/theme.json';
+$themePath = __ROOT__ . '/application/themes/' . $themeName . '/theme.json';
+$themeDefaultPath = __ROOT__ . '/application/themes/default/theme.json';
if (!is_file($themePath) && is_file($themeDefaultPath)) {
$cssWarning($buffer, "Invalid theme '" . str_replace('*/', '*\\/', $themeName) . "'");
$cssWarning($buffer, "Loading default theme");