帳號登錄
帳號:
密碼:
記住我 | 忘記密碼 | 帳號註冊
網站導覽
ARTICLE : 強制關閉除錯模式
作者 Mesak 於 2010年07月20日 00:20:00 (6982 次閱讀)

forcely disable/turn off debug mode


當後台設定了 除錯模式之後,如何在 php 強制將 除錯模式關閉呢?

$xoopsLogger->activated = false; //CLOSE Debug Mode

這樣在輸出 json,或是 ajax request 都可以避免 除錯模式啟動而造成 Javascript 錯亂


此段程式碼在 include/common.php Line 135 被使用


可列印模式 轉寄給朋友

The XOOPS organisation ("XOOPS") is committed to protecting the privacy of users of the XOOPS.org sites.
The website used Ver.2.4.5 POWERED BY XOOPS PROJECT.