We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c10bb32 commit 2691afaCopy full SHA for 2691afa
BotApp.php
@@ -111,7 +111,7 @@ public function send(Message $message)
111
public function saveParams($params)
112
{
113
$config = "<?php\n";
114
- $config .= "\return " . var_export($params, true) . ";\n";
+ $config .= "return " . var_export($params, true) . ";\n";
115
$configFileName = '/config_' . trim(str_replace('.', '_', $_REQUEST['auth']['domain'])) . '.php';
116
file_put_contents(__DIR__ . '/../../../' . $configFileName, $config);
117
0 commit comments