NOTICE: Undefined index: sid in /www/wwwroot/zmn.91beibeile.com/protected/controller/BaseController.php on line 21
- /www/wwwroot/zmn.91beibeile.com/protected/lib/speed.php on line 515
510.
$msg = "ERROR";
511.
if($errno == E_WARNING)$msg = "WARNING";
512.
if($errno == E_NOTICE)$msg = "NOTICE";
513.
if($errno == E_STRICT)$msg = "STRICT";
514.
if($errno == 8192)$msg = "DEPRECATED";
515.
516.
err("$msg: $errstr in $errfile on line $errline");
}
517.
function err($msg){
518.
$msg = htmlspecialchars($msg);
519.
$traces = debug_backtrace();
520.
if(!empty($GLOBALS['err_handler'])){
- /www/wwwroot/zmn.91beibeile.com/protected/controller/BaseController.php on line 21
16.
header("Content-type: text/html; charset=utf-8");
17.
18.
if ($__controller != "login"){
19.
//redis,除检查登录状态的其他操作重置ttl
20.
if($__action != "hasvalid") {
21.
22.
$sid = $_REQUEST['sid'];
if (strlen($sid) > 0) {
23.
$redis = new RedisModel();
24.
$redis->expire($sid, 7200);
25.
}
26.
}
- /www/wwwroot/zmn.91beibeile.com/protected/lib/speed.php on line 185
180.
public $_auto_display = true;
181.
protected $_v;
182.
private $_data = array();
183.
184.
public function init(){}
185.
186.
public function __construct(){$this->init();}
public function &__get($name){return $this->_data[$name];}
187.
public function __set($name, $value){$this->_data[$name] = $value;}
188.
189.
public function display($tpl_name, $return = false){
190.
if(!$this->_v){
- /www/wwwroot/zmn.91beibeile.com/protected/lib/speed.php on line 87
82.
}
83.
if(!is_available_classname($__controller))_err_router("Err: Controller '$controller_name' is not correct!");
84.
if(!class_exists($controller_name, true))_err_router("Err: Controller '$controller_name' is not exists!");
85.
if(!method_exists($controller_name, $action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
86.
87.
88.
$controller_obj = new $controller_name();
$controller_obj->$action_name();
89.
90.
if($controller_obj->_auto_display){
91.
$auto_tpl_name = (empty($__module) ? '' : $__module.DS).$__controller.'_'.$__action.'.html';
92.
if(file_exists(APP_DIR.DS.'protected'.DS.'view'.DS.$auto_tpl_name))$controller_obj->display($auto_tpl_name);
- /www/wwwroot/zmn.91beibeile.com/index.php on line 11
6.
7.
$url = $_SERVER['SCRIPT_NAME'];
8.
$contextpath = preg_replace("/\\/index\\.php.*$/","",$url) ;
9.
define('CONTEXT_PATH',$contextpath);
10.
11.
require(APP_DIR.'/protected/lib/speed.php');