From ac2d2131cfbba96118ed43565786f40cb6acb646 Mon Sep 17 00:00:00 2001 From: Kurtis Shaner Date: Thu, 1 Sep 2022 08:41:27 -0700 Subject: [PATCH] prepend __DIR__ to vendor/autoload.php --- jarvis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis.php b/jarvis.php index 2d4dcd8..db61297 100755 --- a/jarvis.php +++ b/jarvis.php @@ -12,7 +12,7 @@ namespace Jarvis; -require_once 'vendor/autoload.php'; +require_once __DIR__ . '/vendor/autoload.php'; define( 'JARVIS_PATH', __DIR__ ); define( 'JARVIS_URI', plugins_url( '', __FILE__ ) );