{"id":157,"date":"2008-01-02T13:59:16","date_gmt":"2008-01-02T05:59:16","guid":{"rendered":"http:\/\/twycf.com\/wordpress\/archives\/157"},"modified":"2008-01-02T13:59:16","modified_gmt":"2008-01-02T05:59:16","slug":"%e5%a6%82%e4%bd%95%e8%ae%93%e5%be%8c%e5%8f%b0%e7%9a%84%e8%b7%b3%e8%bd%89%e9%a0%81%e9%9d%a2%e4%b9%9f%e5%a5%97%e7%94%a8%e5%89%8d%e5%8f%b0%e7%9a%84%e9%a2%a8%e6%a0%bc","status":"publish","type":"post","link":"https:\/\/twycf.com\/?p=157","title":{"rendered":"\u5982\u4f55\u8b93\u5f8c\u53f0\u7684\u8df3\u8f49\u9801\u9762\u4e5f\u5957\u7528\u524d\u53f0\u7684\u98a8\u683c"},"content":{"rendered":"<p>tested with xoops 2.016<br \/>\n\u6240\u6709\u547c\u53eb redirect_header\u90fd\u662f\u57f7\u884c\u9019\u4e00\u500b\u51fd\u5f0f<br \/>\n<coolcode linenum=\"off\">\/include\/functions.php<br \/>\nline 364\tfunction redirect_header($url, $time = 3, $message = &#8221;, $addredirect = true)<\/coolcode><br \/>\n\u800c\u5728 372 \u884c\u6709\u4e00\u500b\u5224\u65b7\u76ee\u524d\u662f\u524d\u53f0\uff0c\u9084\u662f\u5f8c\u53f0<br \/>\n<coolcode linenum=\"off\">    if (defined(&#8216;XOOPS_CPFUNC_LOADED&#8217;)) {<br \/>\n        $theme = &#8216;default&#8217;;<br \/>\n    } else {<br \/>\n        $theme = $xoopsConfig[&#8216;theme_set&#8217;];<br \/>\n    }<\/coolcode>\u53ea\u8981\u8b80\u5230 XOOPS_CPFUNC_LOADED\uff0c\u5c31\u5224\u5b9a\u70ba\u5f8c\u53f0\uff0c\u76f4\u63a5\u4f7f\u7528\u9810\u8a2d\u6a23\u7248<br \/>\n<coolcode linenum=\"off\">\/\/include\/cp_functions.php<br \/>\nline 27\t\/\/define(&#8216;XOOPS_CPFUNC_LOADED&#8217;, 1);<\/coolcode><br \/>\n\u628a\u9019\u4e00\u884c mark\u8d77\u4f86\u5c31\u53ef\u4ee5\u4e86\uff0c\u76ee\u524d\u4f7f\u7528\u8d77\u4f86\u6c92\u4ec0\u9ebc\u554f\u984c<\/p>\n","protected":false},"excerpt":{"rendered":"<p>tested with xoops 2.016 \u6240\u6709\u547c\u53eb redirect_header\u90fd\u662f\u57f7\u884c\u9019\u4e00\u500b\u51fd\u5f0f \/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,15],"tags":[],"class_list":["post-157","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-xoops"],"_links":{"self":[{"href":"https:\/\/twycf.com\/index.php?rest_route=\/wp\/v2\/posts\/157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twycf.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/twycf.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/twycf.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/twycf.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=157"}],"version-history":[{"count":0,"href":"https:\/\/twycf.com\/index.php?rest_route=\/wp\/v2\/posts\/157\/revisions"}],"wp:attachment":[{"href":"https:\/\/twycf.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/twycf.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/twycf.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}