Changeset 442

Show
Ignore:
Timestamp:
01/05/08 19:04:14 (12 months ago)
Author:
padams
Message:

- added owa-data di constant
- changes default error handler back to production and pah to async log file.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/base/classes/settings.php

    r441 r442  
    358358                        'fetch_refering_page_info'              => true, 
    359359                        'query_string_filters'                  => '', 
    360                         'async_log_dir'                                 => OWA_BASE_DIR . '/logs/', 
     360                        'async_log_dir'                                 => OWA_DATA_DIR . 'logs/', 
    361361                        'async_log_file'                                => 'events.txt', 
    362362                        'async_lock_file'                               => 'owa.lock', 
     
    364364                        'notice_email'                                  => '', 
    365365                        'log_php_errors'                                => false, 
    366                         'error_handler'                                 => 'development', 
     366                        'error_handler'                                 => 'production', 
    367367                        'error_log_level'                               => 0, 
    368                         'error_log_file'                                => OWA_BASE_DIR . '/owa-data/logs/errors.txt', 
     368                        'error_log_file'                                => OWA_DATA_DIR . 'logs/errors.txt', 
    369369                        'browscap.ini'                                  => OWA_BASE_DIR . '/modules/base/data/php_browscap.ini', 
    370370                        'search_engines.ini'                    => OWA_BASE_DIR . '/conf/search_engines.ini', 
  • trunk/owa_env.php

    r441 r442  
    4141define('OWA_GRAPHS_DIR', OWA_BASE_DIR.DIRECTORY_SEPARATOR.'plugins'.DIRECTORY_SEPARATOR.'graphs'.DIRECTORY_SEPARATOR); 
    4242define('OWA_CONF_DIR', OWA_BASE_DIR.DIRECTORY_SEPARATOR.'conf'.DIRECTORY_SEPARATOR); 
    43 define('OWA_CACHE_DIR', OWA_BASE_DIR.DIRECTORY_SEPARATOR.'owa-data'.DIRECTORY_SEPARATOR.'caches'.DIRECTORY_SEPARATOR); 
    44 define('OWA_VERSION', '1.0'); 
     43define('OWA_DATA_DIR', OWA_BASE_DIR.DIRECTORY_SEPARATOR.'owa-data'.DIRECTORY_SEPARATOR); 
     44define('OWA_CACHE_DIR', OWA_DATA_DIR.'caches'.DIRECTORY_SEPARATOR); 
     45define('OWA_VERSION', '1.1.0rc2'); 
    4546?>