From d68b24dde0c69b83dc92a5e86a6b87ffca67e552 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Mon, 16 May 2022 17:59:11 +0300 Subject: [PATCH] Fixing msgpack custom --- composer.json | 2 +- config.inc.php | 2 +- msgpack_custom.inc.php => msgpack/msgpack_custom.inc.php | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename msgpack_custom.inc.php => msgpack/msgpack_custom.inc.php (100%) diff --git a/composer.json b/composer.json index 8c4507d..058e576 100644 --- a/composer.json +++ b/composer.json @@ -6,6 +6,6 @@ "php": ">=7.4" }, "autoload": { - "classmap": ["config.inc.php", "msgpack_custom.inc.php"] + "classmap": ["config.inc.php", "msgpack/msgpack_custom.inc.php"] } } diff --git a/config.inc.php b/config.inc.php index a860ebd..3c5db83 100644 --- a/config.inc.php +++ b/config.inc.php @@ -897,7 +897,7 @@ else { function config_msgpack_pack($data) { - include_once(__DIR__ . '/msgpack_custom.inc.php'); + include_once(__DIR__ . '/msgpack/msgpack_custom.inc.php'); $packer = new \MessagePackCustom(); return $packer->pack($data); diff --git a/msgpack_custom.inc.php b/msgpack/msgpack_custom.inc.php similarity index 100% rename from msgpack_custom.inc.php rename to msgpack/msgpack_custom.inc.php