mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 16:02:54 +03:00
Added message in installation page when base url contains a trailing slash.
This commit is contained in:
parent
7aae2f359b
commit
3e58a98765
1 changed files with 9 additions and 0 deletions
|
@ -162,4 +162,13 @@ $(document).ready(function() {
|
|||
|
||||
return company;
|
||||
}
|
||||
|
||||
// Validate the base URL setting (must not contain any trailing slash).
|
||||
if (GlobalVariables.baseUrl.slice(-1) === '/') {
|
||||
GeneralFunctions.displayMessageBox('Misconfiguration Detected', 'Please remove any trailing slashes from your '
|
||||
+ 'BASE_URL setting of the root config.php file and try again.' );
|
||||
$('#install')
|
||||
.prop('disabled', true)
|
||||
.fadeTo('0.4');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue