diff options
author | Jonas Kohl | 2024-10-15 16:01:32 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-10-15 16:01:32 +0200 |
commit | e0e89b9fdbf301e0ead944636023947a67aca57d (patch) | |
tree | cfaba505852996d7b3c1e62ec19376fdcfbdd3dd /src/application/actions | |
parent | 80dc53d81f648609a1a34f468cd31c3bf752dc3d (diff) |
Move themes to different folder
Diffstat (limited to 'src/application/actions')
-rw-r--r-- | src/application/actions/ctheme/get.php | 4 |
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"); |