mirror of
https://github.com/filegator/filegator.git
synced 2025-08-09 17:56:42 +02:00
remove is_writable check for ../repository folder since this can be configured as any other folder, or set as read-only
This commit is contained in:
5
dist/index.php
vendored
5
dist/index.php
vendored
@@ -21,11 +21,6 @@ if (! is_writable(__DIR__.'/../private/logs/')) {
|
||||
die;
|
||||
}
|
||||
|
||||
if (! is_writable(__DIR__.'/../repository/')) {
|
||||
echo 'Folder not writable: /repository/'."\n";
|
||||
die;
|
||||
}
|
||||
|
||||
if (! file_exists(__DIR__.'/../configuration.php')) {
|
||||
copy(__DIR__.'/../configuration_sample.php', __DIR__.'/../configuration.php');
|
||||
}
|
||||
|
Reference in New Issue
Block a user