destoon
止语之语
无
展开
-
destoon 首页调用内容页的前三张图片
修改文件,首页调用$content 语句 <?php $matchs = []; preg_match_all('/<img.*?src="(.*?)"/', $t[content], $matchs); $images = []; $length = count($matchs[1]); if ($length > 3) { $length = 3; } for ($i = 0; $i < $length; $i++) {转载 2021-01-13 17:58:38 · 275 阅读 · 0 评论 -
destoon 首页调用内容及图片
第一步: 打开 /include/tag.func.php 找到 isset($showpage) or $showpage = 0; 这句。 在其上行或其下行添上 (isset($showcontent) && $MODULE[$moduleid]['module']=='article') or $showcontent = 0; 第二步: 找到 $query = "SELECT ".$fields." FROM ".$table." WHERE ".$condition.$orde转载 2021-01-13 17:32:33 · 492 阅读 · 0 评论 -
destoon使用 标签调用
php集成环境中新建项目文件夹,destoon默认文件复制进项目 安装原创 2020-12-28 14:35:32 · 528 阅读 · 0 评论