Again :'(

This commit is contained in:
Shoghi Cervantes
2013-08-28 17:13:33 +02:00
parent 06ce84e275
commit eba33b0e00
2 changed files with 5 additions and 7 deletions

View File

@@ -5,7 +5,7 @@
private $server;
public function testStart(){
define("NO_THREADS", true);
//define("DEBUG", -1); //No output
define("DEBUG", -1); //No output
require_once(dirname(__FILE__)."/../dependencies.php");
require_once(FILE_PATH."/src/functions.php");
require_once(FILE_PATH."/src/dependencies.php");
@@ -24,11 +24,9 @@
$server->init();
}
public function hook(){
$this->server = ServerAPI::request();
public function hook(){
//Everything done!
$this->server->close();
ServerAPI::request()->close();
}
}
}