mirror of
https://ghproxy.net/https://github.com/elementor/wp2static.git
synced 2025-09-08 12:36:08 +08:00
be more explicit about uploadsDir error
This commit is contained in:
parent
6c847171d6
commit
d5529ed759
2 changed files with 4 additions and 3 deletions
|
@ -166,6 +166,7 @@ class StaticHtmlOutput
|
|||
->assign('uploadsFolderWritable', $uploadsFolderWritable)
|
||||
->assign('supportsZipArchives', $supportsZipArchives)
|
||||
->assign('permalinksStructureDefined', $permalinksStructureDefined)
|
||||
->assign('uploadsFolder', $uploadDir)
|
||||
->render();
|
||||
}
|
||||
else
|
||||
|
|
|
@ -15,9 +15,9 @@ else:
|
|||
endif;
|
||||
|
||||
if (!$this->uploadsFolderWritable):
|
||||
$fail[] = 'Your uploads folder is not writable.';
|
||||
$fail[] = 'Your uploads folder ('. $this->uploadsFolder['path'] .') is not writable.';
|
||||
else:
|
||||
$pass[] = 'Your uploads folder is writable';
|
||||
$pass[] = 'Your uploads folder ('. $this->uploadsFolder['path'] .') is writable';
|
||||
endif;
|
||||
|
||||
if (!$this->permalinksStructureDefined):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue