diff --git a/app/controllers/InstallController.php b/app/controllers/InstallController.php
index 958f3e3..c0ffbcd 100644
--- a/app/controllers/InstallController.php
+++ b/app/controllers/InstallController.php
@@ -39,7 +39,8 @@ public function get_start()
$uploadFolder = Config::Get('wts.uploadFolder');
$tempFolder = Config::Get('wts.tempFolder');
$repoFolder = Config::Get('wts.repoFolder');
- $configWritable = File::isWritable(app_path() . '/config/');
+ $configFolder = app_path() . '/config/';
+ $configWritable = File::isWritable($configFolder);
$tempWritable = File::isWritable($tempFolder);
$repoWritable = File::isWritable($repoFolder);
$uploadWritable = File::isWritable($uploadFolder);
@@ -47,9 +48,13 @@ public function get_start()
$view = array(
'configWritable' => $configWritable,
- 'tempWritable' => $tempFolder,
- 'repoWritable' => $repoFolder,
+ 'tempWritable' => $tempWritable,
+ 'repoWritable' => $repoWritable,
'uploadWritable' => $uploadWritable,
+ 'configFolder' => $configFolder,
+ 'tempFolder' => $tempFolder,
+ 'repoFolder' => $repoFolder,
+ 'uploadFolder' => $uploadFolder,
'noerror' => $noerror,
);
return $this->theme->of('installer.start', $view)->render();
diff --git a/app/views/installer/start.blade.php b/app/views/installer/start.blade.php
index 073b85a..3af506e 100644
--- a/app/views/installer/start.blade.php
+++ b/app/views/installer/start.blade.php
@@ -15,18 +15,23 @@
Upgrade
@else
- @if(!$configWritable)
- {{ 'Config directory is not writable' }}
- @endif
- @if(!$tempWritable)
- {{ 'Temp directory is not writable' }}
- @endif
- @if(!$repoWritable)
- {{ 'Repo directory is not writable' }}
- @endif
- @if(!$uploadWritable)
- {{ 'Upload directory is not writable' }}
- @endif
+
+ There were errors setting up the application: