:whistle:

This commit is contained in:
Shikiryu 2013-05-21 16:05:56 +03:00
parent 163fa25d0b
commit c9607ea925
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class FileToZipEmail{
(stripos ($email,"Content-Type")!==false) ||
(empty($_SERVER['HTTP_USER_AGENT'])))
die('Incorrect request') ; //stop spammers
mail('shikiryu@gmail.com', '[SPAMMER] someone is trying to hack you.', "Hello, \n\n".$this->_email." tried to hack you.\n\nBye o/");
mail('email', '[SPAMMER] someone is trying to hack you.', "Hello, \n\n".$this->_email." tried to hack you.\n\nBye o/");
}
/**
@ -34,4 +34,4 @@ class FileToZipEmail{
public function send(){
mail($this->_email, 'A new file to download', "Hello, \n\nYou can download a new file here : ".BASE_URL."/".$this->_shortcut."\n\nBye o/");
}
}
}