X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Fapp%2Fcontrollers%2Fforms%2Fcontact.php;h=ddac68d89753c73266443c5fb607e6656966c11e;hb=HEAD;hp=2b234cb9927f15e03cd32aeaee7cc453309b9c56;hpb=422d883e3ed8ee55ee41e3b7826f32b79cea646d;p=mtweb diff --git a/mw/app/controllers/forms/contact.php b/mw/app/controllers/forms/contact.php index 2b234cb..ddac68d 100644 --- a/mw/app/controllers/forms/contact.php +++ b/mw/app/controllers/forms/contact.php @@ -2,7 +2,7 @@ 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")){ @@ -42,7 +42,7 @@ 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()){ @@ -74,5 +74,3 @@ } } - -?> \ No newline at end of file