From f03a795de75b99332c6315ea36ff452f7b32ca6a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 15 Dec 2011 18:19:10 +0400 Subject: include path fix for lighttpd --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 3096cd2cd..d08afa6ef 100644 --- a/index.php +++ b/index.php @@ -5,7 +5,8 @@ exit; } - set_include_path(get_include_path() . PATH_SEPARATOR . "include"); + set_include_path(get_include_path() . PATH_SEPARATOR . + dirname(__FILE__) ."/include"); require_once "functions.php"; require_once "sessions.php"; -- cgit v1.2.3-54-g00ecf