Rest : do not try to load the output classes
This commit is contained in:
@@ -60,7 +60,6 @@ class Rest
|
|||||||
$text = $http->codetext ($code);
|
$text = $http->codetext ($code);
|
||||||
header ($_SERVER["SERVER_PROTOCOL"]." $code $text");
|
header ($_SERVER["SERVER_PROTOCOL"]." $code $text");
|
||||||
$type = $this->chooseType ();
|
$type = $this->chooseType ();
|
||||||
require_once ("domframework/output$type.php");
|
|
||||||
$constr = __NAMESPACE__."\\Output$type";
|
$constr = __NAMESPACE__."\\Output$type";
|
||||||
$method = "out";
|
$method = "out";
|
||||||
$obj = new $constr ();
|
$obj = new $constr ();
|
||||||
|
|||||||
Reference in New Issue
Block a user