$zctjmk = S("Model"); $zktjmk2 = ',#'.implode(',#',$zktjmk); $mvc = MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME; switch ($mvc) { case 'Content/Pagedis/lists': $zc_controller = new \Common\Controller\HomebaseController(); $hash = md5('Content/Pagedis/lists'.$zc_controller->catid); break; case 'Content/Createhtml/category': case 'Content/Createhtml/update_post': case 'Content/Createhtml/update_show': $parse = parse_url($zc_controller->moveurl); parse_str($parse['query'],$zcparse); $hash = md5($zcparse['g'].'/'.$zcparse['m'].'/'.$zcparse['a']); break; default: $hash = md5($mvc); break; }