Skip to content

Commit

Permalink
Fix theme exists check code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jumilla committed Nov 2, 2015
1 parent 09cb38c commit 5541010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/WordPressService.php
Expand Up @@ -125,7 +125,7 @@ protected function registerContentNamespaces()
$theme = WordPress::activeTheme();
$theme_path = WordPress::themePath($theme);

if (!file_exists($theme_path).'/style.css') {
if (!file_exists($theme_path.'/style.css')) {
info("Error: Theme '$theme' is not found.");

return;
Expand Down

0 comments on commit 5541010

Please sign in to comment.