mirror of
https://github.com/standardebooks/web.git
synced 2025-07-20 05:14:48 -04:00
Fix typo in DB constructor
This commit is contained in:
parent
7eaa400ae3
commit
265db89448
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class DbConnection{
|
|||
public int $QueryCount = 0;
|
||||
public int $LastQueryAffectedRowCount = 0;
|
||||
|
||||
public function __construct(?string $defaultDatabase = null, string $host = 'localhost', ?string $user = null, string$password = '', bool $forceUtf8 = true, bool $require = true){
|
||||
public function __construct(?string $defaultDatabase = null, string $host = 'localhost', ?string $user = null, string $password = '', bool $forceUtf8 = true, bool $require = true){
|
||||
if($user === null){
|
||||
// Get the user running the script for local socket login
|
||||
$user = posix_getpwuid(posix_geteuid());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue