File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ class InitApi
11
11
{
12
12
public function getStructure (): array
13
13
{
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 ' );
17
17
18
18
$ db = (new DatabaseSqlite ())->getManager ();
19
19
$ db ->exec ($ sql01Station );
@@ -78,7 +78,7 @@ public function getData(): array
78
78
79
79
public function copyConfig (): array
80
80
{
81
- copy (__DIR__ . '/../../docker/configDataset.json ' , __DIR__ . '/../../var/configDataset.json ' );
81
+ copy (__DIR__ . '/../../../ docker/configDataset.json ' , __DIR__ . '/.. /../../var/configDataset.json ' );
82
82
83
83
return [
84
84
"status " => "success " ,
You can’t perform that action at this time.
0 commit comments