Commit e553cfaf authored by Rob Myers's avatar Rob Myers

Fix installer conf generation. Update gnukebox help to use current client list.

parent 19c4fe18
...@@ -114,7 +114,7 @@ PT+wyF3sxnlLADr6ApYcCQvAxHJLyUHQySqJx5+kAABArRU6QMrASTlYQ7gFsDVdowWsjLStEQIA ...@@ -114,7 +114,7 @@ PT+wyF3sxnlLADr6ApYcCQvAxHJLyUHQySqJx5+kAABArRU6QMrASTlYQ7gFsDVdowWsjLStEQIA
Ow==" alt="" /> Ow==" alt="" />
<p>The Libre.fm wiki has a <a <p>The Libre.fm wiki has a <a
href="https://bugz.foocorp.net/w/projects/libre.fm/clients/">good list href="https://git.gnu.io/foocorp/librefm/wikis/Clients">good list
of players</a> that can be configured to support GNU FM servers, such of players</a> that can be configured to support GNU FM servers, such
as this one.</p> as this one.</p>
......
...@@ -61,7 +61,7 @@ if (isset($_POST['install'])) { ...@@ -61,7 +61,7 @@ if (isset($_POST['install'])) {
$submissions_server = $_POST['submissions_server']; $submissions_server = $_POST['submissions_server'];
//Write out the configuration //Write out the configuration
$config = "<?php\n \$config_version = " . $version .";\n \$connect_string = '" . $connect_string . "';\n \$default_theme = '" . $default_theme . "';\n \$site_name = '" . $site_name . "';\n \$base_url = '" . $base_url . "';\n \$submissions_server = '" . $submissions_server . "';\n \$install_path = '" . $install_path . "';\n \$adodb_connect_string = '" . $adodb_connect_string . "';\n \$gnufm_key = 'default_gnufm_32_char_identifier';\n $registration_disabled = false;\n\n require_once(__DIR__ . '/vendor/autoload.php');\n"; $config = "<?php\n \$config_version = " . $version .";\n \$connect_string = '" . $connect_string . "';\n \$default_theme = '" . $default_theme . "';\n \$site_name = '" . $site_name . "';\n \$base_url = '" . $base_url . "';\n \$submissions_server = '" . $submissions_server . "';\n \$install_path = '" . $install_path . "';\n \$adodb_connect_string = '" . $adodb_connect_string . "';\n \$gnufm_key = 'default_gnufm_32_char_identifier';\n \$registration_disabled = false;\n\n require_once(__DIR__ . '/vendor/autoload.php');\n";
$conf_file = fopen('config.php', 'w'); $conf_file = fopen('config.php', 'w');
$result = fwrite($conf_file, $config); $result = fwrite($conf_file, $config);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment