Thank you,
I changed my code to require, it doesn' work. So I try it again with include. But I got the same error.
Fehler: Class 'Valitron\Validator' not found (Zeile 35 in /mnt/web116/d3/92/57789292/htdocs/processwire/site/templates/crs-contact2.php)
include(dirname(__FILE__) . 'Valitron/Validator.php');
include(dirname(__FILE__) . 'recaptcha/src/ReCaptcha/ReCaptcha.php');
Code 35:
$v = new \Valitron\Validator(array(
'name' => $sanitizer->text($input->post->name),
'email' => $sanitizer->email($input->post->email),
'message' => $sanitizer->text($input->post->message),
)
);
I tried several links to the directory, but every link output the same error.
Have you another idea?
Thank you
Lena