{"id":1667,"date":"2018-05-20T22:41:51","date_gmt":"2018-05-20T14:41:51","guid":{"rendered":"http:\/\/www.baishitou.cn\/?p=1667"},"modified":"2019-12-18T13:47:45","modified_gmt":"2019-12-18T05:47:45","slug":"%e7%bb%87%e6%a2%a6dedecms%e5%90%8e%e5%8f%b0%e6%a8%a1%e5%9d%97%e7%ae%a1%e7%90%86%e7%a9%ba%e7%99%bd%e4%b8%8d%e6%98%be%e7%a4%ba%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/1667.html","title":{"rendered":"\u7ec7\u68a6DEDECMS\u540e\u53f0\u6a21\u5757\u7ba1\u7406\u7a7a\u767d\u4e0d\u663e\u793a\u7684\u89e3\u51b3\u65b9\u6cd5"},"content":{"rendered":"
\u6700\u8fd1\u7545\u8a00\u81ea\u52a8\u63d2\u5165\u5b98\u65b9\u5e7f\u544a\u4e86\uff0c\u6240\u4ee5\u786e\u5b9a\u5220\u9664\uff0c\u5230\u540e\u53f0\u6a21\u5757\u7ba1\u7406\u4e00\u770b\uff0c\u6a21\u5757\u7a7a\u767d\u4e00\u7247\uff0c \u8fd9\u79cd\u60c5\u51b5\u539f\u56e0\u6bd4\u8f83\u591a\uff0c\u5927\u591a\u662f\u201c\u6839\u76ee\u5f55\/data\/module\/moduleurllist.txt\u201d\u6587\u4ef6\u51fa\u73b0\u4e86\u95ee\u9898\uff0c\u6bd4\u5982\u6ca1\u6709\u5199\u5165\u6743\u9650\uff0c\u6587\u4ef6\u635f\u574f\u7b49\u5176\u5b83\u95ee\u9898\u5bfc\u81f4\u3002<\/p>\n \u5148\u5c1d\u8bd5\u4fee\u590dmoduleurllist.txt\u6587\u4ef6\uff0c\u53ef\u4ee5\u4ece\u5b89\u88c5\u5305\u91cd\u65b0\u83b7\u53d6\u5e76\u8986\u76d6\uff0c\u4e0b\u8f7d\u5b8c\u6210\u540e\u8986\u76d6moduleurllist.txt\u3002\u7136\u540e\u6ce8\u9500\u91cd\u65b0\u767b\u5f55\u3002<\/p>\n \u5982\u679c\u8fd8\u662f\u8fd9\u6837\u7a7a\u767d\uff0c\u6253\u5f00\u201c\u6839\u76ee\u5f55\/dede\/module_main.php\u201d\u6587\u4ef6(\u5176\u4e2ddede\u662f\u4f60\u7684\u540e\u53f0\u76ee\u5f55)\uff0c\u6ce8\u91ca\u6389\u5927\u7ea691\u884c\u548c95\u884c\u7684\u4ee3\u7801\uff0c\u5982\u4e0b\uff1a<\/p>\n \u4fdd\u5b58\u540e\uff0c\u5237\u65b0\u4e00\u4e0b\u5217\u8868\u51fa\u6765\u4e86<\/p>\n<\/a><\/p>\n
$modules_remote = $dm->GetModuleUrlList($moduletype,$mdurl);\r\n\r\n\r\n$modules = array_merge($modules,$modules_remote);<\/code><\/pre>\n
<\/a><\/p>\n