Changeset 726
- Timestamp:
- May 24, 2020 5:19:18 PM (4 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r725 r726 428 428 // DB credentials for CLI scripts stored in a JSON file with read rights given only to the user who will be executing the scripts: -r-------- 429 429 // But not if all DB credentials have been defined already by other means. 430 if ($this->cli && (!$this->getParam('db_server') || !$this->getParam('db_name') || !$this->getParam('db_user') || !$this->getParam('db_pass'))) {430 if ($this->cli && '' != $this->getParam('db_auth_file') && (!$this->getParam('db_server') || !$this->getParam('db_name') || !$this->getParam('db_user') || !$this->getParam('db_pass'))) { 431 431 if (false !== $db_auth_file = stream_resolve_include_path($this->getParam('db_auth_file'))) { 432 432 if (is_readable($db_auth_file)) { -
trunk/lib/Lock.inc.php
r718 r726 267 267 public function set($record_table, $record_key, $record_val, $title='') 268 268 { 269 $app =& App::getInstance(); 269 270 $db =& DB::getInstance(); 270 271
Note: See TracChangeset
for help on using the changeset viewer.