File tree 2 files changed +14
-0
lines changed
phpmyfaq/src/phpMyFAQ/Setup
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,20 @@ public function checkFilesystem(): bool
62
62
throw new Exception ('The folder ' . $ this ->upgradeDirectory . ' is missing. ' );
63
63
}
64
64
}
65
+
66
+ if (!is_dir (PMF_CONTENT_DIR . '/user/attachments ' )) {
67
+ throw new Exception ('The folder /content/user/attachments is missing. ' );
68
+ }
69
+ if (!is_dir (PMF_CONTENT_DIR . '/user/images ' )) {
70
+ throw new Exception ('The folder /content/user/images is missing. ' );
71
+ }
72
+ if (!is_dir (PMF_CONTENT_DIR . '/core/data ' )) {
73
+ throw new Exception ('The folder /content/core/data is missing. ' );
74
+ }
75
+ if (!is_dir (PMF_ROOT_DIR . '/assets/themes ' )) {
76
+ throw new Exception ('The folder /phpmyfaq/assets/themes is missing. ' );
77
+ }
78
+
65
79
if (
66
80
is_dir (PMF_CONTENT_DIR . '/user/attachments ' ) &&
67
81
is_dir (PMF_CONTENT_DIR . '/user/images ' ) &&
You can’t perform that action at this time.
0 commit comments