@@ -16,14 +16,8 @@ class AppServiceProvider extends ServiceProvider
|
||||
public function register(): void
|
||||
{
|
||||
$package = config('common-budget.path');
|
||||
if (! is_file($package.'/bootstrap.php') && ! $this->app->environment('production')) {
|
||||
$package = base_path('../sgf-tempo/packages/budget-control');
|
||||
}
|
||||
require_once $package.'/bootstrap.php';
|
||||
$payables = config('common-payables.path');
|
||||
if (! is_file($payables.'/bootstrap.php') && ! $this->app->environment('production')) {
|
||||
$payables = base_path('../sgf-tempo/packages/payables');
|
||||
}
|
||||
require_once $payables.'/bootstrap.php';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user