コード例 #1
0
ファイル: Debug.php プロジェクト: biribogos/wikihow-src
 /**
  * Enabled the debugger and load resource module.
  * This is called by Setup.php when $wgDebugToolbar is true.
  *
  * @since 1.19
  */
 public static function init()
 {
     self::$enabled = true;
 }
コード例 #2
0
ファイル: MWDebug.php プロジェクト: paladox/mediawiki
 /**
  * Disable the debugger.
  *
  * @since 1.28
  */
 public static function deinit()
 {
     self::$enabled = false;
 }