fix path to config.php in mail.l.php

This commit is contained in:
2018-04-16 15:15:32 +02:00
parent 53ccd1c2b3
commit f74a2f74e0
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
function send_mail($receiver, $subject, $body) {
include("config.php");
include("../config.php");
$headers = "From: " . $config["register_email"] . "\r\n"
. "Content-Type: text/plain;charset=utf-8";
return mail($receiver, $subject, $body, $headers);

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
function send_mail($receiver, $subject, $body) {
include("config.php");
include("../config.php");
$headers = "From: " . $config["register_email"] . "\r\n"
. "Content-Type: text/plain;charset=utf-8";
return mail($receiver, $subject, $body, $headers);