|  | @@ -88,7 +88,7 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 88 | 88 |       */ | 
                                                                                                            
                                                            | 89 | 89 |      private function initBaseConfig() | 
                                                                                                            
                                                            | 90 | 90 |      { | 
                                                                                                            
                                                            | 91 |  | -        $this->initConfigIfNotSet('app.route.active', defined('NEBULA_ROUTE_GROUPS')? \explode(',', \constant('NEBULA_ROUTE_GROUPS')) :['default']); | 
                                                                                                            
                                                            |  | 91 | +        $this->initConfigIfNotSet('app.route.active', defined('NEBULA_ROUTE_GROUPS') ? \explode(',', \constant('NEBULA_ROUTE_GROUPS')) : ['default']); | 
                                                                                                            
                                                            | 92 | 92 |          $this->initConfigIfNotSet('app.import', [\constant('NEBULA_APP').'/'.'share']); | 
                                                                                                            
                                                            | 93 | 93 |          $this->initConfigIfNotSet('app.resource', [\constant('NEBULA_APP').'/'.'resource']); | 
                                                                                                            
                                                            | 94 | 94 |          $this->initConfigIfNotSet('app.module.scan-path', [\constant('NEBULA_APP').'/'.'modules']); | 
                                                                                                                                                        
                                                        |  | @@ -115,7 +115,7 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 115 | 115 |       */ | 
                                                                                                            
                                                            | 116 | 116 |      private function initTimezone() | 
                                                                                                            
                                                            | 117 | 117 |      { | 
                                                                                                            
                                                            | 118 |  | -        $timezone = defined('DEFAULT_TIMEZONE')?constant('DEFAULT_TIMEZONE'):'PRC'; | 
                                                                                                            
                                                            |  | 118 | +        $timezone = defined('DEFAULT_TIMEZONE') ?constant('DEFAULT_TIMEZONE') : 'PRC'; | 
                                                                                                            
                                                            | 119 | 119 |          date_default_timezone_set($this->config->get('app.timezone', $timezone)); | 
                                                                                                            
                                                            | 120 | 120 |      } | 
                                                                                                            
                                                            | 121 | 121 |   | 
                                                                                                                                                        
                                                        |  | @@ -199,7 +199,7 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 199 | 199 |       */ | 
                                                                                                            
                                                            | 200 | 200 |      public function run() | 
                                                                                                            
                                                            | 201 | 201 |      { | 
                                                                                                            
                                                            | 202 |  | -        $className  = $this->config->get('app.application', Application::class); | 
                                                                                                            
                                                            |  | 202 | +        $className = $this->config->get('app.application', Application::class); | 
                                                                                                            
                                                            | 203 | 203 |          $this->application = Runnable::newClassInstance($className); | 
                                                                                                            
                                                            | 204 | 204 |          $this->application->setContext($this); | 
                                                                                                            
                                                            | 205 | 205 |          $this->application->setPath($this->path); |