]> git.wh0rd.org - tt-rss.git/blobdiff - register.php
modify include path order (closes #514)
[tt-rss.git] / register.php
index fbcea845dc6f4f9fa11f67f69170eb472d296ba6..b0c9bd95fa86fdd69dd6ed5a527d4f66a1dad105 100644 (file)
@@ -4,8 +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 .
-               dirname(__FILE__) . "/include");
+       set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
+               get_include_path());
 
        require_once 'lib/phpmailer/class.phpmailer.php';