support for sockets
This commit is contained in:
parent
d9f113c95d
commit
600ef06d88
|
@ -20,6 +20,7 @@ if(file_exists("../config/config-user.php")) {
|
|||
echo "Permission denied!";
|
||||
exit();
|
||||
}
|
||||
require_once("../config/config-default.php");
|
||||
|
||||
//Get input
|
||||
$input = json_decode(file_get_contents('php://input'));
|
||||
|
|
|
@ -29,4 +29,6 @@ $config['nonce_lifetime'] = 15;
|
|||
//Number of rows in domain overview
|
||||
$config['domain_rows'] = 15;
|
||||
|
||||
ini_set("mysqli.default_socket", "/var/run/mysqld/mysqld.sock");
|
||||
|
||||
include 'config-user.php';
|
||||
|
|
Loading…
Reference in a new issue