public function boot()
    {
        $activeTheme = 'avored-default';
        $dbConnectError = false;

        try {
            DB::connection()->getPdo();
        } catch (\Exception $e) {
            $dbConnectError = true;
        }
    
        if (false === $dbConnectError && Schema::hasTable('configurations')) {
            $repository = $this->app->get(ConfigurationInterface::class);
            $activeTheme = $repository->getValueByKey('active_theme_identifier');
        }
        $theme = Theme::get($activeTheme);
        $fallBackPath = base_path('resources/lang');
        $this->app['lang.path'] = array_get($theme, 'lang_path');
    }