Using BladeOne again, got the admin page to show

This commit is contained in:
2021-10-06 12:28:56 -06:00
parent fa1807f5fc
commit 1d695ea372
6 changed files with 18 additions and 19 deletions

View File

@ -57,8 +57,7 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
require_once __DIR__ . '/includes/class-nmspcli.php';
}
$mode = BladeOne::MODE_DEBUG; // Can also be MODE_AUTO|MODE_DEBUG
$blade = new BladeOne( __DIR__ . '/templates', __DIR__ . '/cache/blade', $mode );
$blade = new BladeOne( __DIR__ . '/templates', __DIR__ . '/cache/blade' );
register_activation_hook( __FILE__, array( App::class, 'plugin_activation' ) );
register_deactivation_hook( __FILE__, array( App::class, 'plugin_deactivation' ) );