Preserve shared budget adapter and limited technical acceptance
This commit is contained in:
@@ -15,7 +15,11 @@ 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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user