From bff6e44a9e421667cabefb6c1a407cd150f9bf7f Mon Sep 17 00:00:00 2001 From: Riccardo Lardi Date: Tue, 21 May 2024 19:43:37 +0200 Subject: [PATCH] fix composer autoload path --- src/VideoDimensions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VideoDimensions.php b/src/VideoDimensions.php index 7011e0b..ff5f85b 100644 --- a/src/VideoDimensions.php +++ b/src/VideoDimensions.php @@ -2,7 +2,7 @@ namespace riccardolardi\craftvideodimensions; -require_once "/var/www/html/vendor/autoload.php"; +require_once CRAFT_VENDOR_PATH . '/autoload.php'; use Craft; use craft\base\Plugin;