Fixing msgpack custom

This commit is contained in:
Pavel Shevaev 2022-05-16 17:59:11 +03:00
parent 5186692433
commit d68b24dde0
3 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,6 @@
"php": ">=7.4" "php": ">=7.4"
}, },
"autoload": { "autoload": {
"classmap": ["config.inc.php", "msgpack_custom.inc.php"] "classmap": ["config.inc.php", "msgpack/msgpack_custom.inc.php"]
} }
} }

View File

@ -897,7 +897,7 @@ else
{ {
function config_msgpack_pack($data) function config_msgpack_pack($data)
{ {
include_once(__DIR__ . '/msgpack_custom.inc.php'); include_once(__DIR__ . '/msgpack/msgpack_custom.inc.php');
$packer = new \MessagePackCustom(); $packer = new \MessagePackCustom();
return $packer->pack($data); return $packer->pack($data);