From 5571276a19980abf9f3b98cfedb3741f5818e4a8 Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Fri, 24 Jan 2025 14:06:51 +0300 Subject: [PATCH] fix(template): no '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'],