Changeset 564 for trunk/bin


Ignore:
Timestamp:
Mar 5, 2016 4:07:19 AM (8 years ago)
Author:
anonymous
Message:

Fixed db_server=>localhost regression. Removed Auth->initDB from Auth->clear. Enabled logging by default for cb cli scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/_config.inc.php

    r533 r564  
    8080    'display_errors' => true,
    8181    'error_reporting' => E_ALL,
    82     'log_file_priority' => false,
     82    'log_file_priority' => LOG_DEBUG,
    8383    'log_screen_priority' => LOG_INFO,
    84     'log_directory' => '/tmp',
     84    'log_directory' => (is_dir('./log') ? './log' : '/tmp'), // If ./log exists, use it, otherwise /tmp.
    8585    'log_filename' => 'site_log',
    8686));
    8787
    8888if (strtolower(getFilenameExtension($db_auth_file)) != 'json') {
    89     // DB auth file is not json, and will not be automaticlaly be loaded by $app's 'db_auth_file' parser.
     89    // DB auth file is not JSON, and will not be automatically be loaded by $app's 'db_auth_file' parser.
    9090    require_once $db_auth_file;
    9191}
Note: See TracChangeset for help on using the changeset viewer.