Add reCAPTCHA scripts when required
This commit is contained in:
parent
f63f141177
commit
8ef0ed6a29
@ -144,6 +144,11 @@ $modsForHesk_settings = mfh_getSettings();
|
||||
<?php
|
||||
}
|
||||
|
||||
// Use ReCaptcha API v2?
|
||||
if (defined('RECAPTCHA')) {
|
||||
echo '<script src="https://www.google.com/recaptcha/api.js?hl=' . $hesklang['RECAPTCHA'] . '" async defer></script>';
|
||||
}
|
||||
|
||||
if (defined('VALIDATOR')) {
|
||||
?>
|
||||
<script type="text/javascript" src="<?php echo HESK_PATH; ?>js/validation-scripts.js"></script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user