Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.43 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.43 KB

Restriction Site Remover

Build status

Branch Status Coverage
master Build Status Coverage Status
v2 Build Status Coverage Status

Dependencies

  • PHP >= 7.1
  • Composer (dependency management)
  • Twig (html templates)
  • Flight (php framework)
  • PHPUnit (testing)

Installing

  1. Run composer install.
  2. Move everything to your webserver root directory.
  3. Ensure that users cannot access directories outside of /public.
  4. For Apache, use the following rewrite rules:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]

Note: If using vhosts, you should rewrite to %{DOCUMENT_ROOT}/index.php rather than just index.php.

Copyright

License: MIT

Read file LICENSE.