class mw_forms_contact extends mw_controller{
- function index(){
+ public function index(){
$env = $this->env();
if($env->config("contact_form") && $env->config("email")){
if($env->config("captcha")){
else $env->run("index");
}
- function __send_form($from, $titre, $message, $dest, $captcha){
+ public function __send_form($from, $titre, $message, $dest, $captcha){
$env = $this->env();
$env->set_out("ENVOYE", false);
if(!$captcha || PtitCaptchaHelper::checkCaptcha()){
}
}
-
-?>
\ No newline at end of file