... and abort on empty pw
This commit is contained in:
parent
c2d6e957f8
commit
7fba2d69cf
@ -22,6 +22,8 @@
|
||||
$fh = fopen('php://stdin', 'r');
|
||||
$db_root_password = trim(fgets($fh, 1024));
|
||||
fclose($fh);
|
||||
if ($db_root_password == '')
|
||||
die("no DB password - aborting.\n");
|
||||
}
|
||||
|
||||
/* begin db connect */
|
||||
|
Loading…
x
Reference in New Issue
Block a user