Changeset 528


Ignore:
Timestamp:
Jun 21, 2015 3:23:30 PM (9 years ago)
Author:
anonymous
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/App.inc.php

    r527 r528  
    350350
    351351            // DB credentials for CLI scripts stored in a JSON file with read rights given only to the user who will be executing the scripts: -rw-------
    352             if (defined('_CLI')) {
     352            // But only if db_pass hasn't been defined yet by other means.
     353            if (defined('_CLI') && !$this->getParam('db_server') && !$this->getParam('db_name') && !$this->getParam('db_user') && !$this->getParam('db_pass')) {
    353354                if (false !== $db_auth_file = stream_resolve_include_path($this->getParam('db_auth_file'))) {
    354355                    if (is_readable($db_auth_file)) {
Note: See TracChangeset for help on using the changeset viewer.