running thru all the applications and am making sure their making proper use of the path variables

This commit is contained in:
seek3r 2000-12-18 10:09:34 +00:00
parent 29c362e574
commit 7ecbb0810e
5 changed files with 5 additions and 10 deletions

View File

@ -14,8 +14,7 @@
$phpgw_info = array();
$phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
include("../header.inc.php");
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
. $phpgw_info["server"]["account_repository"] . ".inc.php");
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
$phpgw->template->set_file(array("list" => "accounts.tpl",
"row" => "accounts_row.tpl"));

View File

@ -20,8 +20,7 @@
$phpgw_info["flags"]["currentapp"] = "admin";
$phpgw_info["flags"]["enable_calendar_class"] = True;
include("../header.inc.php");
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
. $phpgw_info["server"]["account_repository"] . ".inc.php");
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
// I didn't active this code until all tables are up to date using the owner field
// The calendar isn't update to date. (jengo)

View File

@ -14,8 +14,7 @@
$phpgw_info = array();
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin");
include("../header.inc.php");
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
. $phpgw_info["server"]["account_repository"] . ".inc.php");
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
if (! $account_id) {
Header("Location: " . $phpgw->link("accounts.php"));

View File

@ -14,8 +14,7 @@
$phpgw_info = array();
$phpgw_info["flags"] = array("currentapp" => "admin", "noheader" => True, "nonavbar" => True);
include("../header.inc.php");
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
. $phpgw_info["server"]["account_repository"] . ".inc.php");
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
function add_default_preferences($account_id)
{

View File

@ -22,8 +22,7 @@
$phpgw_info["flags"]["parent_page"] = "accounts.php";
include("../header.inc.php");
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
. $phpgw_info["server"]["account_repository"] . ".inc.php");
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
if (! $account_id) {
Header("Location: " . $phpgw->link("accounts.php"));