This commit is contained in:
Laurent Destailleur 2020-11-30 18:33:58 +01:00
parent c0baf483dc
commit 9fed0ca970

View File

@ -45,7 +45,7 @@ if (!$res) die("Include of main fails");
require_once DOL_DOCUMENT_ROOT.'/includes/restler/framework/Luracast/Restler/AutoLoader.php';
call_user_func(function () {
call_user_func(function() {
$loader = Luracast\Restler\AutoLoader::instance();
spl_autoload_register($loader);
return $loader;