修复特定情况下边栏无法加载问题

pull/25/head
zsx 2015-08-25 18:30:55 +08:00
parent f08bb89474
commit adc2ff6030
1 changed files with 5 additions and 2 deletions

View File

@ -101,9 +101,12 @@ class explorer extends Controller{
}
//回收站不记录前进后退
if($this->in['path'] != '*recycle*/' && $this->in['type'] !=='desktop'){
$_SESSION['this_path']=$user_path;
if (isset($this->in['type'])){
if($this->in['path'] != '*recycle*/' && $this->in['type'] !=='desktop'){
$_SESSION['this_path']=$user_path;
}
}
$list=$this->path($this->path);
$list['history_status']= array('back'=>$hi->isback(),'next'=>$hi->isnext());
show_json($list);