require ()'s now work from anywhere

This commit is contained in:
zone 2001-06-27 22:06:21 +00:00
parent eadda85332
commit 76a739dba1
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<?php <?php
require ("./inc/main.inc.php"); require (PHPGW_APP_INC . "/main.inc.php");
?> ?>

View File

@ -23,7 +23,7 @@ else
define ("NULL", ""); define ("NULL", "");
require ("./inc/db.inc.php"); require (PHPGW_APP_INC . "/db.inc.php");
/* Set up any initial db settings */ /* Set up any initial db settings */
db_init (); 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 # 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" # Define the list of file attributes. Format is "internal_name" => "Displayed name"