File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ class    InitApi
1111{
1212    public  function  getStructure (): array 
1313    {
14-         $ sql01Station  = file_get_contents (__DIR__  . '/../../sql/01.station.sql ' );
15-         $ sql02StationStatus  = file_get_contents (__DIR__  . '/../../sql/02.station.status.sql ' );
16-         $ sql03Velo  = file_get_contents (__DIR__  . '/../../sql/03.velo.sql ' );
14+         $ sql01Station  = file_get_contents (__DIR__  . '/../../../ sql/01.station.sql ' );
15+         $ sql02StationStatus  = file_get_contents (__DIR__  . '/../../../ sql/02.station.status.sql ' );
16+         $ sql03Velo  = file_get_contents (__DIR__  . '/../../../ sql/03.velo.sql ' );
1717
1818        $ db  = (new  DatabaseSqlite ())->getManager ();
1919        $ db ->exec ($ sql01Station );
@@ -78,7 +78,7 @@ public function getData(): array
7878
7979    public  function  copyConfig (): array 
8080    {
81-         copy (__DIR__  . '/../../docker/configDataset.json ' , __DIR__  . '/../../var/configDataset.json ' );
81+         copy (__DIR__  . '/../../../ docker/configDataset.json ' , __DIR__  . '/.. /../../var/configDataset.json ' );
8282
8383        return  [
8484            "status "  => "success " ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments