File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -207,5 +207,12 @@ private function createContainer() : void
207207        $ adapterimportParameters (static ::$ container$ this config );
208208        $ adapterimportParameters (static ::$ container$ this parameters );
209209        $ adapterimportServices (static ::$ container$ this services );
210+ 
211+         static ::$ containersetParameter ('kernel.debug ' , $ this debug );
212+         static ::$ containersetParameter ('kernel.environment ' , $ this debug  ? 'dev '  : 'prod ' );
213+         static ::$ containersetParameter ('kernel.project_dir ' , $ _SERVER 'DOCUMENT_ROOT ' ]);
214+         static ::$ containersetParameter ('kernel.cache_dir ' , $ _SERVER 'DOCUMENT_ROOT ' ] . $ this parameters ['cache_path ' ]);
215+         static ::$ containersetParameter ('kernel.build_dir ' , $ _SERVER 'DOCUMENT_ROOT ' ] . $ this parameters ['cache_path ' ]);
216+         static ::$ containersetParameter ('kernel.charset ' , 'UTF-8 ' );
210217    }
211218}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments