diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..7080406 --- /dev/null +++ b/.htaccess @@ -0,0 +1,4 @@ + + RewriteEngine On + RewriteRule ^(.*)$ public/$1 [L] + \ No newline at end of file diff --git a/README.MD b/README.MD index 3fbec06..48cdc56 100644 --- a/README.MD +++ b/README.MD @@ -12,4 +12,10 @@ Make sure you follow this instruction to have it working in minutes * Modify app/config/database.php if you are going to be using a database -* Modify app/core/databaseSchema.php and run it to generate the schema of your database if you need to, delete it when you are done. \ No newline at end of file +* Modify app/core/databaseSchema.php and run it to generate the schema of your database if you need to, delete it when you are done. + +* Go to localhost/home Where home will be the controller name inside controllers, by default goes to home function inside the controller. + +* Point to different function localhost/home/*functionname* + +* Passing parameters localhost/home/*functionname*/*param* \ No newline at end of file