Created
October 22, 2016 23:03
A blank default model used in CodeIgniter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Pages_model extends CI_Model { | |
public $variable; | |
public function __construct() | |
{ | |
parent::__construct(); | |
$this->load->database(); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment