Commit 1a090f8f authored by Isabel Jenkins's avatar Isabel Jenkins

removed some late night coding 'features'

parent 587273ed
......@@ -23,7 +23,7 @@ if (!isset($mwsess)) {
if ($_REQUEST['sucssite_loggedin']=="true" && $action!="logout") {
require("startup.php");
} else {
echo 'nope';
echo 'Post requests only to this url';
exit;
}
}
......
......@@ -8,11 +8,11 @@ $auth = trim($data['auth']);
$path = $poller_path.$sess;
//header("Content-type: application/json; charset=utf-8");
header("Content-type: application/json; charset=utf-8");
$sock = socket_create(AF_UNIX, SOCK_SEQPACKET, 0);
if (@socket_connect($sock, $path) === FALSE) {
//echo "{\"status\":\"Socket open error\"}\n";
echo "{\"status\":\"Socket open error\"}\n";
exit;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment