From d5529ed7597a38fe7bf11263b0ffec468f3fe197 Mon Sep 17 00:00:00 2001 From: Leon Stafford Date: Tue, 27 Dec 2016 20:19:22 +1300 Subject: [PATCH] be more explicit about uploadsDir error --- library/StaticHtmlOutput.php | 1 + views/system-requirements.phtml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/library/StaticHtmlOutput.php b/library/StaticHtmlOutput.php index 6c6a811c..ab8ba2ea 100644 --- a/library/StaticHtmlOutput.php +++ b/library/StaticHtmlOutput.php @@ -166,6 +166,7 @@ class StaticHtmlOutput ->assign('uploadsFolderWritable', $uploadsFolderWritable) ->assign('supportsZipArchives', $supportsZipArchives) ->assign('permalinksStructureDefined', $permalinksStructureDefined) + ->assign('uploadsFolder', $uploadDir) ->render(); } else diff --git a/views/system-requirements.phtml b/views/system-requirements.phtml index 4ed5b2aa..0c90aa66 100644 --- a/views/system-requirements.phtml +++ b/views/system-requirements.phtml @@ -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): @@ -49,4 +49,4 @@ endif;

- \ No newline at end of file +