Fix vendor/autoload.php include path

This commit is contained in:
abuyoyo 2023-08-11 22:21:36 +03:00
parent 320496722d
commit 0f13626dab

View File

@ -12,8 +12,8 @@ defined( 'ABSPATH' ) || die( 'No soup for you!' );
use WPHelper\PluginCore;
if ( file_exists( 'vendor/autoload.php' ) )
require_once 'vendor/autoload.php';
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) )
require_once __DIR__ . '/vendor/autoload.php';
/**
* Bootstrap plugin and admin page (Tools > Notice Manager)