This commit is contained in:
parent
bfc6a8e4fd
commit
5571276a19
2 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
$wakkaConfig = array(
|
$wakkaConfig = array(
|
||||||
'wakka_version' => '0.1.1',
|
'wakka_version' => '0.1.1',
|
||||||
'wikini_version' => '0.5.0',
|
'wikini_version' => '0.5.0',
|
||||||
|
|
|
@ -375,7 +375,7 @@ function createWakkaConfig($domain, $user, $dbUser)
|
||||||
{
|
{
|
||||||
$destDir = '/home' . '/' . $user . '/' . $domain;
|
$destDir = '/home' . '/' . $user . '/' . $domain;
|
||||||
$templates = new League\Plates\Engine(dirname(__FILE__) . '/templates');
|
$templates = new League\Plates\Engine(dirname(__FILE__) . '/templates');
|
||||||
file_put_contents($destDir.'/wakka.config.php', $templates->render('wakka.config', [
|
file_put_contents($destDir.'/wakka.config.php', '<?php'."\n\n".$templates->render('wakka.config', [
|
||||||
'domain' => $domain,
|
'domain' => $domain,
|
||||||
'database' => $dbUser['database'],
|
'database' => $dbUser['database'],
|
||||||
'databaseUser' => $dbUser['user'],
|
'databaseUser' => $dbUser['user'],
|
||||||
|
|
Loading…
Reference in a new issue