diff options
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"); |