去除下载按钮

This commit is contained in:
IT小强xqitw.cn 2018-07-12 15:38:23 +08:00
parent 79ac71cf09
commit a454dfd560

View File

@ -306,7 +306,9 @@ EXT;
}
$html .= '</div></li>';
}
$html .= ' <li class="nav-item"><a class="nav-link" href="?download=api_doc_php">下载文档</a></li>';
if (!isset($_GET['download']) || $_GET['download'] !== 'api_doc_php') {
$html .= ' <li class="nav-item"><a class="nav-link" href="?download=api_doc_php">下载文档</a></li>';
}
$html .= '</ul>';
return $html;
}