🔧 Acorn v3 (Laravel 9.x), drop PHP 7.4 support (#3097)

Co-authored-by: retlehs <retlehs@users.noreply.github.com>
Co-authored-by: Brandon Nifong <brandon@tendency.me>
This commit is contained in:
Ben Word
2023-01-27 15:43:23 -07:00
committed by GitHub
parent 523c99c4ec
commit 03386f06ab
5 changed files with 9 additions and 23 deletions

View File

@@ -30,13 +30,13 @@ require $composer;
*/
try {
\Roots\bootloader();
\Roots\bootloader()->boot();
} catch (Throwable $e) {
wp_die(
__('You need to install Acorn to use this theme.', 'sage'),
'',
[
'link_url' => 'https://docs.roots.io/acorn/2.x/installation/',
'link_url' => 'https://roots.io/acorn/docs/installation/',
'link_text' => __('Acorn Docs: Installation', 'sage'),
]
);
@@ -63,17 +63,3 @@ collect(['setup', 'filters'])
);
}
});
/*
|--------------------------------------------------------------------------
| Enable Sage Theme Support
|--------------------------------------------------------------------------
|
| Once our theme files are registered and available for use, we are almost
| ready to boot our application. But first, we need to signal to Acorn
| that we will need to initialize the necessary service providers built in
| for Sage when booting.
|
*/
add_theme_support('sage');