فهرست منبع

删除没有用的代码

visuddhinanda 4 سال پیش
والد
کامیت
31a684d9f3
1فایلهای تغییر یافته به همراه1 افزوده شده و 6 حذف شده
  1. 1 6
      app/article/get.php

+ 1 - 6
app/article/get.php

@@ -34,12 +34,7 @@ if(isset($_GET["id"])){
 		exit;
 		exit;
 	}
 	}
 	#查询权限结束
 	#查询权限结束
-	/*
-    PDO_Connect(""._FILE_DB_USER_ARTICLE_);
-    $id=$_GET["id"];
-    $query = "SELECT * FROM article  WHERE id = ? ";
-    $Fetch = PDO_FetchRow($query,array($id));
-	*/
+
 	$Fetch = $article->getInfo($_GET["id"]);
 	$Fetch = $article->getInfo($_GET["id"]);
     if($Fetch){
     if($Fetch){
 		$Fetch["content"] = $article->getContent($_GET["id"]);
 		$Fetch["content"] = $article->getContent($_GET["id"]);