vendor/autoload - check if file exists

This commit is contained in:
abuyoyo 2023-06-07 11:56:27 +03:00
parent 2bdd4b24b7
commit acf477a0c0

View File

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