Created
February 22, 2014 20:55
-
-
Save jehoshua02/9162275 to your computer and use it in GitHub Desktop.
Simple single point entry index.php configured in .htaccess file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^.*$ index.php [NC,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created simple carcase for realizing Front controller pattern: https://github.com/NewEXE/single-entry-point-php