new command to work with translation files (#2993)
This commit is contained in:
@@ -45,6 +45,7 @@ class Kernel extends BaseKernel
|
||||
{
|
||||
use MicroKernelTrait;
|
||||
|
||||
public const PLUGIN_DIRECTORY = '/var/plugins';
|
||||
public const CONFIG_EXTS = '.{php,xml,yaml,yml}';
|
||||
|
||||
public const TAG_PLUGIN = 'kimai.plugin';
|
||||
@@ -128,7 +129,7 @@ class Kernel extends BaseKernel
|
||||
|
||||
private function getBundleClasses(): array
|
||||
{
|
||||
$pluginsDir = $this->getProjectDir() . '/var/plugins';
|
||||
$pluginsDir = $this->getProjectDir() . self::PLUGIN_DIRECTORY;
|
||||
if (!file_exists($pluginsDir)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user