True, "nonavbar" => True, "currentapp" => "home", "noapi" => True); include("../header.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"); } $db = new db; $db->Host = $phpgw_info["server"]["db_host"]; $db->Type = $phpgw_info["server"]["db_type"]; $db->Database = $phpgw_info["server"]["db_name"]; $db->User = $phpgw_info["server"]["db_user"]; $db->Password = $phpgw_info["server"]["db_pass"]; echo "phpGroupWare - setup"; echo "
phpGroupWare version " . $current_version . " setup

"; if ($submit) { $db->query("delete from config"); while ($newsetting = each($newsettings)) { $db->query("insert into config (config_name, config_value) values ('" . addslashes($newsetting[0]) . "','" . addslashes($newsetting[1]) . "')"); } echo '

Your config has been updated
Click here to login'; } $db->query("select * from config"); while ($db->next_record()) { $current_config[$db->f("config_name")] = $db->f("config_value"); } ?>
Enter path for temporey files. ">
Enter path for users and group files. ">
Enter some random text for app_session
encryption (requires mcrypt)
">
Enter the title for your site. ">
Enter the hostname of the machine this server is running on.
Enter the location of phpGroupWares URL.
Example: /phpGroupWare
">
Select which type of authentication you are using.
SQL is only support currently
LDAP host: ">
LDAP context: ">
Use cookies to pass sessionid: >
Enter the location of your mail server: ">
Select your mail server type:
IMAP server type:
Enter your mail sufix: ">
Mail server login type:
Enter your SMTP server hostname: ">
Enter your SMTP server port: ">
Enter your NNTP server hostname: ">
Enter your NNTP server port: ">
Enter your NNTP sender: ">
Enter your NNTP organization: ">
Enter your NNTP admins email address: ">
Enter your NNTP login: ">
Enter your NNTP password: ">
Enter your default character set:
Don't change unless you know what you are doing.
">
Enter your default FTP server. ">
Enter your HTTP proxy server. ">
Enter your HTTP proxy server port. ">
Showed powered by logo on:
Would like like phpGroupWare to check for new version
when admins login ?:
>