Add NAMESPACE support (not activated, but just needed to add the namespace on top of file)

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4630 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2018-10-24 14:36:00 +00:00
parent 3b2f0e6f82
commit 681863f187
13 changed files with 53 additions and 49 deletions

View File

@@ -28,7 +28,7 @@ class rest
}
require_once ("domframework/output$type.php");
$constr = "output$type";
$constr = __NAMESPACE__."\\output$type";
$method = "out";
$obj = new $constr ();
$obj->$method ($message);