1
0
mirror of https://github.com/Chouchen/ShikiProxy.git synced 2018-06-07 06:24:38 +02:00

:whistle:

This commit is contained in:
Shikiryu 2013-05-21 16:05:56 +03:00
parent 163fa25d0b
commit c9607ea925

View File

@ -25,7 +25,7 @@ class FileToZipEmail{
(stripos ($email,"Content-Type")!==false) || (stripos ($email,"Content-Type")!==false) ||
(empty($_SERVER['HTTP_USER_AGENT']))) (empty($_SERVER['HTTP_USER_AGENT'])))
die('Incorrect request') ; //stop spammers 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(){ 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/"); mail($this->_email, 'A new file to download', "Hello, \n\nYou can download a new file here : ".BASE_URL."/".$this->_shortcut."\n\nBye o/");
} }
} }