Posted By

otternq on 10/11/11


Tagged

php codeigniter


Versions (?)

PHP - CodeIgniter - New Controller


 / Published in: PHP
 

  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2.  
  3. class extends CI_Controller {
  4.  
  5. /**
  6.   * Loads models, configs, helpers, and the Zend Framework
  7.   */
  8. public function __construct()
  9. {
  10. /**
  11.   * CodeIgniter requires the parent constructor to be called
  12.   */
  13. parent::__construct();
  14.  
  15. }
  16. }
  17.  
  18. /* End of file */
  19. /* Location: ./application/controllers/ */

Report this snippet  

You need to login to post a comment.