@@ -39,7 +39,7 @@ |
||
39 | 39 | |
40 | 40 | if (!fs::exists($this->themeFolder)) |
41 | 41 | { |
42 | - throw new FileNotFoundException("The '${themeName}' theme folder could not be found.'"); |
|
42 | + throw new FileNotFoundException("The '${themename}' theme folder could not be found.'"); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | if (fs::exists($this->themeFile)) |
@@ -167,8 +167,8 @@ |
||
167 | 167 | { |
168 | 168 | if (($themeName = $this->configuration->getTheme())) |
169 | 169 | { |
170 | - $themePath = "../_themes/${themeName}/_sass"; |
|
171 | - $content = preg_replace("/(@import ['\"])(@theme)(.+)/", "$1${themePath}$3", $content); |
|
170 | + $themePath = "../_themes/${themename}/_sass"; |
|
171 | + $content = preg_replace("/(@import ['\"])(@theme)(.+)/", "$1${themepath}$3", $content); |
|
172 | 172 | } |
173 | 173 | } |
174 | 174 |
@@ -63,7 +63,7 @@ |
||
63 | 63 | // Exception thrown when language not supported |
64 | 64 | catch (\DomainException $exception) |
65 | 65 | { |
66 | - trigger_error("An unsupported language (${langDef['language']}) was detected in a code block", E_USER_WARNING); |
|
66 | + trigger_error("An unsupported language (${langdef['language']}) was detected in a code block", E_USER_WARNING); |
|
67 | 67 | } |
68 | 68 | catch (\Exception $e) |
69 | 69 | { |