Skip to content

Instantly share code, notes, and snippets.

View nteeje's full-sized avatar

Tharanga Jayasinghe nteeje

View GitHub Profile
<?php
/**
* Use this class to automatically generate files for Codeigniter.
* This is to be used specifically with the file setup such as used
* in the course Building a CMS with Codeigniter on tutsplus.com.
*
* Just place this in your appllication/controllers folder and run it.
* NOTE: the ENVIRONMENT constant has to be set to 'development' or the
* class will return a 404.
*