mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
fixed problem with templates dir
This commit is contained in:
parent
d01218ad23
commit
317739dff5
@ -24,6 +24,7 @@
|
||||
$sep = $phpgw->common->filesystem_separator();
|
||||
|
||||
/*
|
||||
|
||||
if ($installed[cron_apps] != "Y") {
|
||||
$dh = opendir($phpgw_info["server"]["temp_dir"]);
|
||||
while ($dir = readdir($dh)) {
|
||||
|
36
setup/index.php
Normal file
36
setup/index.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?
|
||||
/**************************************************************************\
|
||||
* phpGroupWare *
|
||||
* http://www.phpgroupware.org *
|
||||
* The file written by Joseph Engo <jengo@phpgroupware.org> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id $ */
|
||||
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "home", "noapi" => True);
|
||||
include("../header.inc.php");
|
||||
include($phpgw_info["server"]["include_root"]."/globalconfig.inc.php");
|
||||
|
||||
$phpgw_info["server"]["api_dir"] = $phpgw_info["server"]["include_root"]."/phpgwapi";
|
||||
|
||||
/* Database setup */
|
||||
switch($phpgw_info["server"]["db_type"]){
|
||||
case "postgresql":
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_pgsql.inc.php");
|
||||
break;
|
||||
case "oracle":
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_oracle.inc.php");
|
||||
break;
|
||||
default:
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_mysql.inc.php");
|
||||
}
|
||||
|
||||
echo "db server: ".$phpgw_info["server"]["db_host"];
|
||||
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user