Add .env reading flow in config.php

Will check if there is a read_env_file.php and then run it to load .env
file in /configs folder

This file can hold secrets that are not to be checked into git

Updated edit.js file to be eslint compatible
This commit is contained in:
Clemens Schwaighofer
2021-10-11 09:40:01 +09:00
parent e0cc766cc7
commit b3d783bf63
9 changed files with 203 additions and 55 deletions

View File

@@ -722,7 +722,8 @@ class IO extends \CoreLibs\Basic
$this->__dbError();
return false;
}
// if we do have an insert, check if there is no RETURNING pk_id, add it if I can get the PK id
// if we do have an insert, check if there is no RETURNING pk_id,
// add it if I can get the PK id
if ($this->__checkQueryForInsert($this->query, true)) {
$this->pk_name = $pk_name;
if ($this->pk_name != 'NULL') {