A PHP Error was encountered Severity: Warning Message: Illegal offset type in isset or empty Filename: Session/Session.php Line Number: 656 Backtrace: File: D:\DedeAMPZ\WebRoot\CI\application\controllers\admin\login.php
Line: 33
Function: userdata File: D:\DedeAMPZ\WebRoot\CI\index.php
Line: 292
Function: require_once
这里session.php 里的代码。 public function userdata($key = NULL) { if (isset($key)) { return isset($_SESSION[$key]) ? $_SESSION[$key] : NULL; } elseif (empty($_SESSION)) { return array(); }
$userdata = array(); $_exclude = array_merge( array('__ci_vars'), $this->get_flash_keys(), $this->get_temp_keys() );
应当怎么操作?
|