]> git.wh0rd.org - tt-rss.git/blobdiff - register.php
include path fix for lighttpd
[tt-rss.git] / register.php
index d63fc251affd8d8a779de81d445291b7dd38b6b0..4107a2eac89ebad450b4bf3ddaf38ade1be5075f 100644 (file)
@@ -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';