support for sockets

This commit is contained in:
Michael Sprauer 2016-07-07 15:56:51 +02:00
parent d9f113c95d
commit 600ef06d88
2 changed files with 3 additions and 0 deletions

View file

@ -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'));

View file

@ -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';