code clean up, hopefully this should help clean up the problems jengo is having with php 3.0.16

This commit is contained in:
seek3r
2000-12-31 09:50:16 +00:00
parent 07d6df2ebd
commit a812666b75
4 changed files with 186 additions and 211 deletions

View File

@ -25,7 +25,7 @@
// password in ../header.inc.php to protect all of the setup
// pages from unauthorized use.
if(file_exists("../version.inc.php") || is_file("../version.inc.php")) {
if(file_exists("../version.inc.php")) {
include("../version.inc.php"); // To set the current core version
}else{
$phpgw_info["server"]["versions"]["phpgwapi"] = "Undetected";
@ -35,8 +35,5 @@
include("./inc/phpgw_setup.inc.php");
include("./inc/phpgw_schema_proc.inc.php");
include("./inc/phpgw_template.inc.php");
$phpgw_setup = new phpgw_setup;
$phpgw_setup->template = new Template("../");
?>