mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 21:00:39 +08:00
Change the cli to use bin/console instead of bin/cli
This commit is contained in:
parent
9b61d9355d
commit
27bb1aaf4a
2 changed files with 2 additions and 2 deletions
2
bin/cli → bin/console
Executable file → Normal file
2
bin/cli → bin/console
Executable file → Normal file
|
@ -21,7 +21,7 @@ use Doctrine\ORM\EntityManager;
|
||||||
use Doctrine\ORM\Tools\Setup;
|
use Doctrine\ORM\Tools\Setup;
|
||||||
use Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver;
|
use Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver;
|
||||||
|
|
||||||
if (count($argv) === 1 && $argv[0] === 'bin/cli') {
|
if (count($argv) === 1 && $argv[0] === 'bin/console') {
|
||||||
echo
|
echo
|
||||||
"
|
"
|
||||||
\033[38;5;167m OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO\033[38;5;240m00000000000000000000000000000000000000000
|
\033[38;5;167m OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO\033[38;5;240m00000000000000000000000000000000000000000
|
|
@ -36,7 +36,7 @@ class AppThemeRebuildCommand extends SuiteCommand
|
||||||
{
|
{
|
||||||
if (!file_exists(BASE_PATH . '/cache/app/engine/')) {
|
if (!file_exists(BASE_PATH . '/cache/app/engine/')) {
|
||||||
throw new \RuntimeException(
|
throw new \RuntimeException(
|
||||||
'Can\'t find application engine folder, Please run bin/cli app:rebuild'
|
"Can't find application engine folder, Please run bin/console app:rebuild"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue