Compare commits
No commits in common. "7166e630329f4b688a3d9b6a099aa3d957bf0589" and "83f14457997559efc6ccb9a8cfd20d269c8351e2" have entirely different histories.
7166e63032
...
83f1445799
2 changed files with 1 additions and 15 deletions
|
@ -236,12 +236,8 @@ Class Config {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function ini_set($option, $value) {
|
public static function ini_set($option, $value) {
|
||||||
Log :: trace('Set PHP INI option "%s" to "%s"', $option, $value);
|
|
||||||
if (ini_set($option, $value) === false)
|
if (ini_set($option, $value) === false)
|
||||||
Log::warning('Fail to set PHP INI option "%s" to "%s"', $option, $value);
|
Log::warning('Fail to set INI options "%s" to "%s"', $option, $value);
|
||||||
Log :: trace(
|
|
||||||
'PHP INI option "%s" after setting it to "%s": "%s"',
|
|
||||||
$option, $value, vardump(ini_get($option)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
10
src/Db.php
10
src/Db.php
|
@ -103,16 +103,6 @@ class Db {
|
||||||
Log :: debug($msg);
|
Log :: debug($msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Set autocommit (only available on OCI, Firebird or MySQL connection)
|
|
||||||
* @param bool $value
|
|
||||||
* @see https://www.php.net/manual/en/pdo.setattribute.php
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function set_autocommit($value) {
|
|
||||||
$this -> pdo -> setAttribute(PDO::ATTR_AUTOCOMMIT, $value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Handle date/datetime format
|
* Handle date/datetime format
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue