diff --git a/templates/wakka.config.php b/templates/wakka.config.php index 207806a..1284292 100644 --- a/templates/wakka.config.php +++ b/templates/wakka.config.php @@ -1,5 +1,3 @@ - '0.1.1', 'wikini_version' => '0.5.0', diff --git a/utils.inc.php b/utils.inc.php index 4b8260f..c938e43 100644 --- a/utils.inc.php +++ b/utils.inc.php @@ -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', 'render('wakka.config', [ 'domain' => $domain, 'database' => $dbUser['database'], 'databaseUser' => $dbUser['user'],