From 1eeafc28a8b9599cea5a7e750ca68719b5f01ae6 Mon Sep 17 00:00:00 2001 From: hitautodestruct Date: Thu, 24 Mar 2016 10:05:51 +0200 Subject: [PATCH] Note regarding usage of flight in a subdirectory Thanks to this question and answer http://stackoverflow.com/questions/20890210/flight-php-routing-from-subdirectory --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 84c6290..d4253cc 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,8 @@ RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [QSA,L] ``` +**Note**: If you need to use flight in a subdirectory add the line `RewriteBase /flight/` just after `RewriteEngine On`. + For *Nginx*, add the following to your server declaration: ```