From e0e89b9fdbf301e0ead944636023947a67aca57d Mon Sep 17 00:00:00 2001
From: Jonas Kohl
Date: Tue, 15 Oct 2024 16:01:32 +0200
Subject: Move themes to different folder

---
 src/application/actions/ctheme/get.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/application/actions/ctheme')

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");
-- 
cgit v1.2.3