-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
Installation is very easy, just download the zip file and uncompress into your project directory, so you will have the following directory architecture:
your_project/
application/
system/
index.php
.htaccess
web.config
After decompressing the zip, you need copy the system/config/config.php file to application/config/config.php, this will be your project's configuration file.
Also you can copy only the $config[...] variables you need instead copy the entire file, all variables not defined in your application/config/config.php file will be taken from the original system/config/config.php file, so you don't have to worry if new directives are added in future versions of the framework.
Next step is very important, is to change your project's session name, each proyect need a unique session name to avoid overwrite session variables between proyects, so just change the the value of the following variable:
$config['session_name'] = 'your_project_session_name';
To know more about configuration file read the configuration documentation.
Next step is create your first/main controller, which always need be named as HomeController.php, then just create the file and save it into application/controllers/, where all of your controllers will live in armony.
And that's it! Now is time to read the controllers documentation to start creating your awesome web site/app.