diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-23 20:59:21 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-23 20:59:21 -0400 |
commit | 25b9e90ef3b6018f898047be025ad859fcbbd96a (patch) | |
tree | e2ad3195735200d7bf092733c8020a1249a22eac /app/check_setup.php | |
parent | 2af45250c46b431823a9bfaa28e393c70fb931d8 (diff) |
Do not check anymore data folder permissions
People who are using a remote database (Mysql/Postgresql) and a remote file storage (Aws S3 or similar) don't necessary needs to have a persistent local data folder or to change the permissions.
Diffstat (limited to 'app/check_setup.php')
-rw-r--r-- | app/check_setup.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app/check_setup.php b/app/check_setup.php index 624b6b34..65f291e5 100644 --- a/app/check_setup.php +++ b/app/check_setup.php @@ -29,24 +29,7 @@ if (! extension_loaded('mbstring')) { die('PHP extension required: mbstring'); } -// Check if /data is writeable -if (! is_writable('data')) { - die('The directory "data" must be writeable by your web server user'); -} - // Fix wrong value for arg_separator.output, used by the function http_build_query() if (ini_get('arg_separator.output') === '&') { ini_set('arg_separator.output', '&'); } - -// Prepare folder for uploaded files -if (! is_dir(FILES_DIR)) { - if (! mkdir(FILES_DIR, 0755, true)) { - die('Unable to create the upload directory: "'.FILES_DIR.'"'); - } -} - -// Check permissions for files folder -if (! is_writable(FILES_DIR)) { - die('The directory "'.FILES_DIR.'" must be writeable by your webserver user'); -} |