mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
make the whole subfolder story more bullet proof
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<p><?= sprintf(__("All install steps went through. Redirect to user login in %s seconds..."), "<span id='countdown'>4</span>"); ?></p>
|
||||
</div>
|
||||
<div class="mb-3" id="success_button" style="display: none;">
|
||||
<a class="btn btn-primary" href="<?php echo $_POST['websiteurl'] ?? $websiteurl; ?>index.php/user/login/1"><?= __("Done. Go to the user login ->"); ?></a>
|
||||
<a class="btn btn-primary" href="<?php echo $_POST['websiteurl']; ?>index.php/user/login/1"><?= __("Done. Go to the user login ->"); ?></a>
|
||||
</div>
|
||||
<div id="error_message"></div>
|
||||
<div class="container mt-5">
|
||||
@@ -268,7 +268,7 @@
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
$.ajax({
|
||||
url: `${window.location.origin}/index.php/migrate`,
|
||||
url: "<?php echo $_POST['websiteurl']; ?>" + "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: "<?php echo $_POST['websiteurl']; ?>" + "index.php/update/dxcc",
|
||||
success: async function(response) {
|
||||
if (response == 'success') {
|
||||
running(field, false);
|
||||
|
||||
Reference in New Issue
Block a user