Development

Changeset 7850

You must first sign up to be able to contribute.

Changeset 7850

Show
Ignore:
Timestamp:
03/13/08 00:24:59 (7 months ago)
Author:
fabien
Message:

fixed default error_reporting values (PHP 5.2 has a new constant) (closes #3098)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/data/config/settings.yml

    r3493 r7850  
    5252    # Logging and debugging settings 
    5353    web_debug:              off       # Enable the web debug toolbar 
    54     error_reporting:        341      # Determines which events are logged. The default value is E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR = 341 
     54    error_reporting:        <?php echo (E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR)."\n" ?> # Determines which events are logged. The default value is E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR = 341 
    5555 
    5656    # Assets paths 
  • branches/1.0/data/skeleton/app/app/config/settings.yml

    r7071 r7850  
    55dev: 
    66  .settings: 
    7     # E_ALL | E_STRICT = 4095 
    8     error_reporting:        4095 
     7    error_reporting:        <?php echo (E_ALL | E_STRICT)."\n" ?> 
    98    web_debug:              on 
    109    cache:                  off 
     
    1413test: 
    1514  .settings: 
    16     # E_ALL | E_STRICT & ~E_NOTICE = 2047 
    17     error_reporting:        2047 
     15    error_reporting:        <?php echo (E_ALL | E_STRICT & ~E_NOTICE)."\n" ?> 
    1816    cache:                  off 
    1917    web_debug:              off 
     
    7573#    # Logging and debugging settings 
    7674#    web_debug:              off       # Enable the web debug toolbar 
    77 #    error_reporting:        341      # Determines which events are logged. The default value is E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR = 341 
     75#    error_reporting:        <?php echo (E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR)."\n" ?> # Determines which events are logged. The default value is E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR = 341 
    7876# 
    7977#    # Assets paths