Skip to content

Commit

Permalink
remove is_writable check for ../repository folder since this can be c…
Browse files Browse the repository at this point in the history
…onfigured as any other folder, or set as read-only
  • Loading branch information
alcalbg committed Oct 13, 2023
1 parent 2b3b3c0 commit e682f8b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dist/index.php
Expand Up @@ -21,11 +21,6 @@
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');
}
Expand Down

0 comments on commit e682f8b

Please sign in to comment.