Skip to content

Commit 2ff1ad9

Browse files
committed
Fix style ci error + forget to add a 'themeName' in path
1 parent 8273c1f commit 2ff1ad9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Managers/Theme.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,8 @@ public function getFullPath($path)
203203

204204
$themeInfo = $this->getThemeInfo($themeName);
205205

206-
if ( $this->config[ 'theme.symlink' ] ) {
207-
if ($this->config['theme.symlink']) {
208-
+ $themePath = str_replace(base_path('public').DIRECTORY_SEPARATOR, '', $this->config['theme.symlink_path']).DIRECTORY_SEPARATOR;
206+
if ($this->config['theme.symlink']) {
207+
$themePath = str_replace(base_path('public').DIRECTORY_SEPARATOR, '', $this->config['theme.symlink_path']).DIRECTORY_SEPARATOR.$themeName.DIRECTORY_SEPARATOR;
209208
} else {
210209
$themePath = str_replace(base_path('public').DIRECTORY_SEPARATOR, '', $themeInfo->get('path')).DIRECTORY_SEPARATOR;
211210
}

0 commit comments

Comments
 (0)