mirror of
https://github.com/flextype/flextype.git
synced 2025-08-05 20:57:41 +02:00
feat(core): improve composer installation message
This commit is contained in:
@@ -56,7 +56,7 @@ version_compare($ver = PHP_VERSION, $req = FLEXTYPE_MINIMUM_PHP, '<') and exit(s
|
||||
/**
|
||||
* Ensure vendor libraries exist
|
||||
*/
|
||||
! is_file($autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i>');
|
||||
! is_file($autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> for flextype');
|
||||
|
||||
/**
|
||||
* Register The Auto Loader
|
||||
|
@@ -23,7 +23,7 @@ $admin_route = $flextype->registry->get('plugins.admin.route');
|
||||
/**
|
||||
* Ensure vendor libraries exist
|
||||
*/
|
||||
! is_file($admin_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i>');
|
||||
! is_file($admin_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> admin plugin');
|
||||
|
||||
/**
|
||||
* Register The Auto Loader
|
||||
|
@@ -16,7 +16,7 @@ use function is_file;
|
||||
/**
|
||||
* Ensure vendor libraries exist
|
||||
*/
|
||||
! is_file($form_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i>');
|
||||
! is_file($form_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> form plugin');
|
||||
|
||||
/**
|
||||
* Register The Auto Loader
|
||||
|
@@ -16,7 +16,7 @@ use function is_file;
|
||||
/**
|
||||
* Ensure vendor libraries exist
|
||||
*/
|
||||
! is_file($site_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i>');
|
||||
! is_file($site_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> for site plugin');
|
||||
|
||||
/**
|
||||
* Register The Auto Loader
|
||||
|
Reference in New Issue
Block a user