From 8ee4336d778b2bdc1b8ba522d9251a4f664fe664 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 1 Aug 2016 11:30:19 +0200 Subject: Require paths --- include/ajax-email-offer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ajax-email-offer.php') diff --git a/include/ajax-email-offer.php b/include/ajax-email-offer.php index 3960d37..c8a09c0 100644 --- a/include/ajax-email-offer.php +++ b/include/ajax-email-offer.php @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -require_once('./login-ajax.php'); +require_once(__DIR__ . '/../login-ajax.php'); $_offer = new Offer($_pdo, $_REQUEST['id']); $_mailer = $_offer->mailer(); -- cgit v1.2.3