projects
/
mtweb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maj version dans config.xml
[mtweb]
/
mw
/
app
/
controllers
/
forms
/
contact.php
diff --git
a/mw/app/controllers/forms/contact.php
b/mw/app/controllers/forms/contact.php
index
2b234cb
..
ddac68d
100644
(file)
--- 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{
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")){
$env = $this->env();
if($env->config("contact_form") && $env->config("email")){
if($env->config("captcha")){
@@
-42,7
+42,7
@@
else $env->run("index");
}
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()){
$env = $this->env();
$env->set_out("ENVOYE", false);
if(!$captcha || PtitCaptchaHelper::checkCaptcha()){
@@
-74,5
+74,3
@@
}
}
}
}
-
-?>
\ No newline at end of file