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;