Changeset 57285 in spip-zone


Ignore:
Timestamp:
Jan 18, 2012, 8:20:00 AM (8 years ago)
Author:
kent1@…
Message:

Une possibilité de désactiver le debug minipres via mes_options gràce à : define('_DEBUG_MINIPRES',false);

Location:
_core_/plugins/dev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/dev/dev_options.php

    r56143 r57285  
    55define('_LOG_FILTRE_GRAVITE',8);
    66$GLOBALS['test_i18n'] = true; // signaler les trads manquantes
     7
     8if(!defined('_DEBUG_MINIPRES'))
     9        define('_DEBUG_MINIPRES',false);
    710
    811function affiche_usage_memoire(){
  • _core_/plugins/dev/inc/minipres.php

    r51136 r57285  
    6060// http://doc.spip.org/@install_fin_html
    6161function install_fin_html() {
    62         if (!_request('exec')=='install') {
     62        if (!_request('exec')=='install' && _DEBUG_MINIPRES) {
    6363                echo "<pre>";
    6464                debug_print_backtrace();
Note: See TracChangeset for help on using the changeset viewer.