The files directory will now look at where your phpGW installation is and add the default files directory. I also fixed an upgrade error that was being reported in postgresql

This commit is contained in:
jengo 2000-12-12 16:39:18 +00:00
parent c28ab79afd
commit 8258b7f785
2 changed files with 6 additions and 1 deletions

View File

@ -65,6 +65,11 @@
while (@$db->next_record()) { while (@$db->next_record()) {
$current_config[$db->f("config_name")] = $db->f("config_value"); $current_config[$db->f("config_name")] = $db->f("config_value");
} }
if ($current_config["files_dir"] == "/path/to/dir/phpgroupware/files") {
$current_config["files_dir"] = $phpgw_info["server"]["server_root"] . "/files";
}
if ($error == "badldapconnection") { if ($error == "badldapconnection") {
// Please check the number and dial again :) // Please check the number and dial again :)

View File

@ -806,5 +806,5 @@
v0_9_6to0_9_7(); v0_9_6to0_9_7();
v0_9_7to0_9_8(); v0_9_7to0_9_8();
v0_9_8to0_9_9(); v0_9_8to0_9_9();
v0_9_9to0_9_10(); //v0_9_9to0_9_10();
?> ?>