summaryrefslogtreecommitdiff
path: root/register.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-15 18:19:10 +0400
committerAndrew Dolgov <[email protected]>2011-12-15 18:19:38 +0400
commitf03a795de75b99332c6315ea36ff452f7b32ca6a (patch)
treec4d73b6596eeb4c0f2a6e72b1ad83920d6dc1ae6 /register.php
parent8aa3beccccaa19b9f7742529d04d21c2cafbadb6 (diff)
include path fix for lighttpd
Diffstat (limited to 'register.php')
-rw-r--r--register.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/register.php b/register.php
index d63fc251a..4107a2eac 100644
--- a/register.php
+++ b/register.php
@@ -4,7 +4,8 @@
// 1) templates/register_notice.txt - displayed above the registration form
// 2) register_expire_do.php - contains user expiration queries when necessary
- set_include_path(get_include_path() . PATH_SEPARATOR . "include");
+ set_include_path(get_include_path() . PATH_SEPARATOR .
+ dirname(__FILE__) . "/include");
require_once 'lib/phpmailer/class.phpmailer.php';