first commit
This commit is contained in:
22
application/core/CM_Model.php
Executable file
22
application/core/CM_Model.php
Executable file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
class MY_Model extends CI_Model
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->load->database();
|
||||
}
|
||||
}
|
||||
|
||||
if (!class_exists('CM_Model')) {
|
||||
class CM_Model extends MY_Model
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user