From 76a739dba1c5881b12ccfc6459f579b135d9de91 Mon Sep 17 00:00:00 2001 From: zone Date: Wed, 27 Jun 2001 22:06:21 +0000 Subject: [PATCH] require ()'s now work from anywhere --- filemanager/inc/functions.inc.php | 2 +- filemanager/inc/main.inc.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/filemanager/inc/functions.inc.php b/filemanager/inc/functions.inc.php index f8671376f7..414702e4ed 100644 --- a/filemanager/inc/functions.inc.php +++ b/filemanager/inc/functions.inc.php @@ -1,5 +1,5 @@ diff --git a/filemanager/inc/main.inc.php b/filemanager/inc/main.inc.php index e6b6606af7..5c2d425d5b 100755 --- a/filemanager/inc/main.inc.php +++ b/filemanager/inc/main.inc.php @@ -23,7 +23,7 @@ else define ("NULL", ""); -require ("./inc/db.inc.php"); +require (PHPGW_APP_INC . "/db.inc.php"); /* Set up any initial db settings */ db_init (); @@ -47,7 +47,7 @@ define ('HTML_TEXT_NAVIGATION_BACK_TO_USER', "Back to file manager"); # Need to include this here so they recognize the settings ### -require ("./inc/html.inc.php"); +require (PHPGW_APP_INC . "/html.inc.php"); ### # Define the list of file attributes. Format is "internal_name" => "Displayed name"