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__ ) );