We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18377e4 commit 2ab50eeCopy full SHA for 2ab50ee
composer.json
@@ -1,6 +1,6 @@
1
{
2
"name": "isaeken/laravel-theme-system",
3
- "version": "v2.3",
+ "version": "v2.3.1",
4
"description": "Theme system for Laravel",
5
"keywords": [
6
"theme",
src/ThemeSystem.php
@@ -53,6 +53,10 @@ public function isAssetsEnabled(): bool
53
*/
54
public function findThemes(): array
55
56
+ if (theme_path() === false) {
57
+ return [];
58
+ }
59
+
60
$themes = [];
61
foreach (scandir(theme_path()) as $path) {
62
if ($path == '.' || $path == '..') {
0 commit comments