no message
This commit is contained in:
1 parent
8a9d5b0c65
commit
31d6685f47
11 files changed
+612
-22
No files matched your search
@@ -17,24 +17,25 @@ class SingleController extends Controller
|
||||
protected $sType = '';
|
||||
protected $sCode = '';
|
||||
protected $aData = [];
|
||||
protected $aDataCommon = [];
|
||||
protected $sViewPath = 'article/single';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
$this->oAntiXss = new AntiXSS();
|
||||
|
||||
parent::__construct();
|
||||
|
||||
}
|
||||
|
||||
protected function view()
|
||||
{
|
||||
|
||||
$this->aData['sType'] = $this->sType;
|
||||
|
||||
$this->aData['aTagNames'] = Tag::strToNames($this->aData['tags']);
|
||||
|
||||
return view($this->sViewPath, [
|
||||
"aData" => $this->aData,
|
||||
"aDataCommon" => $this->aDataCommon,
|
||||
"sMenu" => $this->aData['sMenu'],
|
||||
]);
|
||||
}
|
||||
@@ -58,7 +59,7 @@ class SingleController extends Controller
|
||||
|
||||
$this->aData['pageTitle'] = $this->aData["title"];
|
||||
|
||||
$this->aData['pageKw'] = "Clash,Quantumult,Shadowrocket,SSR,v2ray,免费节点,节点,订阅链接";
|
||||
// $this->aData['pageKw'] = "Clash,Quantumult,Shadowrocket,SSR,v2ray,免费节点,节点,订阅链接";
|
||||
|
||||
return $this->view();
|
||||
}
|
||||
@@ -82,12 +83,12 @@ class SingleController extends Controller
|
||||
|
||||
$this->aData['pageTitle'] = '「'.$this->aData['date_str'].'」'.$this->aData["title"];
|
||||
|
||||
$this->aData['pageKw'] = "Clash,Quantumult,Shadowrocket,SSR,v2ray,免费节点,节点,订阅链接";
|
||||
|
||||
// $this->aData['pageKw'] = "Clash,Quantumult,Shadowrocket,SSR,v2ray,免费节点,节点,订阅链接";
|
||||
|
||||
// $this->aData['v2rayPath'] = env('APP_URL')."/feed/v2ray-".$iCode.".txt";
|
||||
//
|
||||
// $this->aData['clashPath'] = env('APP_URL')."/feed/clash-".$iCode.".yaml";
|
||||
|
||||
|
||||
$aOption = Option::_all();
|
||||
$aOptionFreenodeClient = explode(",", $aOption["freenode_client"]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user