fixed missign config file and added check if xmlrpc istnt installed
This commit is contained in:
parent
70e05e57d8
commit
5f5008b377
21 changed files with 115 additions and 42 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
require_once(__DIR__ . '/../includes/config.inc.php');
|
||||
require_once(__DIR__ . '/../includes/config_loader.php');
|
||||
$db = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
|
||||
if (!$db) {
|
||||
echo "DB connect failed: " . mysqli_connect_error() . PHP_EOL;
|
||||
|
|
@ -27,4 +27,4 @@ if (mysqli_num_rows($res) === 0) {
|
|||
echo "pass_hash(db)=" . ($row['users_pass_hash'] ?? '') . "\n";
|
||||
}
|
||||
mysqli_close($db);
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue