-
Notifications
You must be signed in to change notification settings - Fork 0
Home
xolf edited this page Feb 11, 2015
·
5 revisions
MyFrame is optimized for Apache2. i'm looking forward to optimize it for nginx and other web server. The commands are for Linux based systems.
Click here for downloading MyFrame on your machine. Unzip the archive in your web folder.
First of all you have to set AllowOverride None
to AllowOverride All
and install Mod rewrite with a2enmod rewrite
. Restart apache after installing.
- ROUTE : Returns the URL e.g. http://start/new/setup, ROUTE = /start/new/setup
- $varRoute : Returns the URL seperated by "/" e.g. http://start/new/setup,
$varRoute[0] = start, $varRoute[1] = new, $varRoute[2] = setup
- getView($view) : Returns the path to the files in thw views folder e.g. ````getView('test') = 'view/test.php'```
If you have found a bug, or want to have a new function in MyFrame, I'll be happy when you post it on the MyFrame Issue page.