1
0
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:
Awilum
2020-02-17 13:56:40 +03:00
parent c96d6be4d0
commit 7e1d5bdc77
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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