diff --git a/application/config/config.sample.php b/application/config/config.sample.php
index da602f15a..b00624705 100644
--- a/application/config/config.sample.php
+++ b/application/config/config.sample.php
@@ -109,7 +109,7 @@ $config['auth_level'][99] = 'Administrator';
| a PHP script and you can easily do that on your own.
|
*/
-$config['base_url'] = 'http://localhost/logbook';
+$config['base_url'] = 'http://localhost/logbook/';
/*
|--------------------------------------------------------------------------
diff --git a/install/config/config.php b/install/config/config.php
index 8f5afc990..5dd56d96d 100644
--- a/install/config/config.php
+++ b/install/config/config.php
@@ -13,7 +13,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
*/
$config['app_name'] = 'Wavelog';
-$config['directory'] = '/%directory%';
+$config['directory'] = '%directory%';
$config['callbook'] = '%callbook%'; // Options are hamqth, qrz or qrzcq
$config['datadir'] = null; // default to install directory
diff --git a/install/index.php b/install/index.php
index 34e76d011..c222fc494 100644
--- a/install/index.php
+++ b/install/index.php
@@ -344,24 +344,14 @@ if (!file_exists('.lock')) {
= __("Configure some basic parameters for your wavelog instance. You can change them later in 'application/config/config.php'"); ?>
-
-
-
-
-
">
-
-
- = __("This field
- - can't be empty
- - have to end with a slash 'example/'
- - have to start with 'http'"); ?>
-
+
+
+
+
+
@@ -1219,9 +1209,6 @@ if (!file_exists('.lock')) {
// Exit Tab 3 - Configuration
if (nextTab.attr('id') == fourthTabId) {
- if (!directory_check() || !websiteurl_check()) {
- return;
- }
if (!callbook_combination()) {
return;
}
@@ -1898,14 +1885,6 @@ if (!file_exists('.lock')) {
checklist_configuration = false;
}
- if ($('#directory').hasClass('is-invalid')) {
- checklist_configuration = false;
- }
-
- if ($('#websiteurl').val() == '' || $('#websiteurl').hasClass('is-invalid')) {
- checklist_configuration = false;
- }
-
if (checklist_configuration) {
checklistConfiguration.removeClass('fa-times-circle');
checklistConfiguration.addClass('fa-check-circle').css('color', '#04a004');
diff --git a/install/run.php b/install/run.php
index 232cd79f3..7b9980e19 100644
--- a/install/run.php
+++ b/install/run.php
@@ -39,7 +39,7 @@
= sprintf(__("All install steps went through. Redirect to user login in %s seconds..."), "4"); ?>
@@ -268,7 +268,7 @@
return new Promise((resolve, reject) => {
$.ajax({
- url: `${window.location.origin}/index.php/migrate`,
+ url: "" + "index.php/migrate",
dataType: 'json',
success: async function(response) {
if (response.status == 'success') {
@@ -297,7 +297,7 @@
return new Promise((resolve, reject) => {
$.ajax({
- url: `${window.location.origin}/index.php/update/dxcc`,
+ url: "" + "index.php/update/dxcc",
success: async function(response) {
if (response == 'success') {
running(field, false);