|
<?php
class Users{
var $CI;
function Users() {
$this->CI =& get_instance();
$this->CI->load->library('session');
}
function del_login_info($type) {
$this->CI->sess_destroy();
}
}
这样为什么不行,报错
Fatal error: Call to undefined method Users::sess_destroy() in ... |
|