Chemin d'accès aux images de captcha

This commit is contained in:
Fred Tempez 2020-10-02 17:36:28 +02:00
parent b45bb37c4f
commit b1c4ce34a4

View File

@ -64,7 +64,7 @@ class template {
$html = '<div id="' . $attributes['id'] . 'Wrapper" class="inputWrapper ' . $attributes['classWrapper'] . '">';
// Label
$html .= self::label($attributes['id'],
'<img class="captchaNumber" src="site/tmp/' . $firstLetter . '.png" /> + <img class="captchaNumber" src="site/tmp/' . $secondLetter . '.png" /> = en chiffres ?', [
'<img class="captchaNumber" src="' . helper::baseUrl(false) . 'site/tmp/' . $firstLetter . '.png" /> + <img class="captchaNumber" src="' . helper::baseUrl(false) . 'site/tmp/' . $secondLetter . '.png" /> = en chiffres ?', [
'help' => $attributes['help']
]);
// Notice