summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Lucas <sebastien@slucas.fr>2016-12-13 21:36:01 +0100
committerSébastien Lucas <sebastien@slucas.fr>2016-12-13 21:36:01 +0100
commit23be2810c870b9ece7faaa90293ddc805abba62f (patch)
tree185008e3b95d6c71af7c5603274cfedf3804fa17
parentca317d391435fb21f7dab4e4ed9cdedc8647aab1 (diff)
downloadcops-23be2810c870b9ece7faaa90293ddc805abba62f.zip
cops-23be2810c870b9ece7faaa90293ddc805abba62f.tar.gz
cops-23be2810c870b9ece7faaa90293ddc805abba62f.tar.bz2
Fix the mail sender.
-rw-r--r--sendtomail.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/sendtomail.php b/sendtomail.php
index e795f90..240fc84 100644
--- a/sendtomail.php
+++ b/sendtomail.php
@@ -1,6 +1,7 @@
<?php
-require_once ("config.php");
+require_once dirname(__FILE__) . '/config.php';
+require_once dirname(__FILE__) . '/base.php';
function checkConfiguration () {
global $config;