mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Respect the directory settings inside the config when checking if they are writable.
This commit is contained in:
parent
a6cd797b22
commit
9a8846f952
@ -1,11 +1,14 @@
|
||||
<?php
|
||||
|
||||
$themesDir = Config::get('cms.themesDir');
|
||||
$uploadsDir = Config::get('cms.uploadsDir');
|
||||
|
||||
$warnings = [];
|
||||
$writablePaths = [
|
||||
'/themes',
|
||||
'/uploads',
|
||||
'/uploads/public',
|
||||
'/uploads/protected',
|
||||
$themesDir,
|
||||
$uploadsDir,
|
||||
$uploadsDir.'/public',
|
||||
$uploadsDir.'/protected',
|
||||
'/app/storage',
|
||||
'/app/storage/logs',
|
||||
'/app/storage/cache',
|
||||
|
Loading…
x
Reference in New Issue
Block a user