vendor/autoload - check if file exists
This commit is contained in:
parent
2bdd4b24b7
commit
acf477a0c0
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user