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(
|
||||
'wakka_version' => '0.1.1',
|
||||
'wikini_version' => '0.5.0',
|
||||
|
|
|
@ -375,7 +375,7 @@ function createWakkaConfig($domain, $user, $dbUser)
|
|||
{
|
||||
$destDir = '/home' . '/' . $user . '/' . $domain;
|
||||
$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,
|
||||
'database' => $dbUser['database'],
|
||||
'databaseUser' => $dbUser['user'],
|
||||
|
|
Loading…
Reference in a new issue