aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/install.php1
-rw-r--r--include/functions.inc.php10
2 files changed, 6 insertions, 5 deletions
diff --git a/admin/install.php b/admin/install.php
index a8f2edbb6..7d514ec4b 100644
--- a/admin/install.php
+++ b/admin/install.php
@@ -18,6 +18,7 @@
***************************************************************************/
//-------------------------------------------------------------------- includes
+define( PREFIX_INCLUDE, '.' );
include( '../include/vtemplate.class.php' );
include( '../include/functions.inc.php' );
//----------------------------------------------------- template initialization
diff --git a/include/functions.inc.php b/include/functions.inc.php
index f62846ce8..6ab5d960c 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -16,11 +16,11 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include( 'functions_user.inc.php' );
-include( 'functions_session.inc.php' );
-include( 'functions_category.inc.php' );
-include( 'functions_xml.inc.php' );
-include( 'functions_group.inc.php' );
+include( PREFIX_INCLUDE.'./include/functions_user.inc.php' );
+include( PREFIX_INCLUDE.'./include/functions_session.inc.php' );
+include( PREFIX_INCLUDE.'./include/functions_category.inc.php' );
+include( PREFIX_INCLUDE.'./include/functions_xml.inc.php' );
+include( PREFIX_INCLUDE.'./include/functions_group.inc.php' );
//----------------------------------------------------------- generic functions