Rest : do not try to load the output classes

This commit is contained in:
2021-05-28 12:02:35 +02:00
parent ecc0239106
commit f474a92a13

View File

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