Skip to content

Commit 027eaba

Browse files
author
Christian Blanquera
authored
Merge pull request #12 from brianpesy/2.2
Fixed bug that required two installs
2 parents bba5b30 + 703ca87 commit 027eaba

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/events/install.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@
121121
$contents = str_replace('<DATABASE PASS>', $pass, $contents);
122122

123123
file_put_contents($destination, $contents);
124+
125+
$config = include $destination;
126+
127+
$this->package('global')->service(null);
128+
$this->package('global')->config(basename($path, '.php'), $config);
129+
124130
}
125131
}
126132

0 commit comments

Comments
 (0)