06-15-2010, 06:06 AM
[eluser]Slowcheetah[/eluser]
Hi there,
everytime i start a new project i download a clean codeigniter installation and start with customizing some minor things so it suits my demands. I think that lots of these changes are done by most of you. So why not change the default codeigniter download?
Here is a list of the things i always start with.
config.php
- change sess_encrypt_cookie default to TRUE
- change sess_match_ip default to TRUE
- change global_xss_filtering default to TRUE
autoload.php
- url helper autoloaded
views
- welcome_message.php view renamed to frontpage_view.php
- frontpage_view.php changed to clean xhtml 1.0 strict template
- included links to reset,screen,print and handheld css & global.js.
controllers
- 'No direct script access allowed' added to default controller
- welcome.php controller renamed to frontpage.php
- frontpage_model.php loaded in default frontpage controller
models
- default frontpage_model.php added
- 'No direct script access allowed' added to default model
errors
- Error templates changed to XHTML 1.0 strict templates
routes
- change default_controller to frontpage.php
other
- assets directory structure added (system/application/assets)
- empty reset.css, screen.css, print.css and handheld.css stylesheet added (system/application/assets/css)
- empty global.js added (system/application/assets/js)
- Userguide removed from default installation
Download my default codeigniter installation, maybe it suits your needs.
What do you always change first after downloading a clean codeigniter installation?
Hi there,
everytime i start a new project i download a clean codeigniter installation and start with customizing some minor things so it suits my demands. I think that lots of these changes are done by most of you. So why not change the default codeigniter download?
Here is a list of the things i always start with.
config.php
- change sess_encrypt_cookie default to TRUE
- change sess_match_ip default to TRUE
- change global_xss_filtering default to TRUE
autoload.php
- url helper autoloaded
views
- welcome_message.php view renamed to frontpage_view.php
- frontpage_view.php changed to clean xhtml 1.0 strict template
- included links to reset,screen,print and handheld css & global.js.
controllers
- 'No direct script access allowed' added to default controller
- welcome.php controller renamed to frontpage.php
- frontpage_model.php loaded in default frontpage controller
models
- default frontpage_model.php added
- 'No direct script access allowed' added to default model
errors
- Error templates changed to XHTML 1.0 strict templates
routes
- change default_controller to frontpage.php
other
- assets directory structure added (system/application/assets)
- empty reset.css, screen.css, print.css and handheld.css stylesheet added (system/application/assets/css)
- empty global.js added (system/application/assets/js)
- Userguide removed from default installation
Download my default codeigniter installation, maybe it suits your needs.
What do you always change first after downloading a clean codeigniter installation?