Changeset 3201

Show
Ignore:
Timestamp:
06/13/07 09:04:07 (2 days ago)
Author:
demian
Message:

Added ability to suppress errors in logs, useful for Ajax debugging

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/0.6-bugfix/CHANGELOG.txt

    r3198 r3201  
    1212 
    1313IMPROVEMENTS 
     1413-06-07    Added ability to suppress errors in logs, useful for Ajax debugging 
    141512-06-07    Implemented persistent logins (Dmitri Lakachauskis) 
    151607-06-07    Added ability to set theme on a per-module basis (Thomas Goetz) 
  • branches/0.6-bugfix/etc/default.conf.dist.ini

    r3097 r3201  
    149149paramsUsername          = 
    150150paramsPassword          = 
     151showErrors              = true 
    151152 
    152153[mta] 
  • branches/0.6-bugfix/lib/SGL/ErrorHandler.php

    r2889 r3201  
    177177EOL; 
    178178                } 
    179                 echo $output; 
     179                if (!empty($conf['log']['showErrors']) && $conf['log']['showErrors'] == true) { 
     180                    echo $output; 
     181                } 
    180182 
    181183                //  disable block so errors can be seen