mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
massive redesign to multi-domain support. This one SHOULD work
This commit is contained in:
parent
50375aec4d
commit
e401cd30f2
@ -49,7 +49,6 @@
|
||||
|
||||
/* Use this for supporting different domains using this single install */
|
||||
/* (ignore if you are only supporting a single domain)*/
|
||||
$phpgw_info["multiable_domains"] = False; //Set to True and create an array for each domain.
|
||||
$phpgw_domain["domain2.com"] = array (
|
||||
"db_host" => "localhost",
|
||||
"db_name" => "phpgw_domain1",
|
||||
|
@ -118,6 +118,9 @@
|
||||
}
|
||||
echo "<!-- Mailox info -->\n";
|
||||
}
|
||||
echo "phpgw_info[user][test_login]: ".$phpgw_info["user"]["test_login"]."<br>\n";
|
||||
echo "phpgw_info[user][userid]: ".$phpgw_info["user"]["userid"]."<br>\n";
|
||||
echo "phpgw_info[user][domain]: ".$phpgw_info["user"]["domain"]."<br>\n";
|
||||
|
||||
if ($phpgw_info["user"]["apps"]["addressbook"]
|
||||
&& $phpgw_info["user"]["preferences"]["addressbook"]["mainscreen_showbirthdays"]) {
|
||||
|
@ -66,7 +66,7 @@
|
||||
|
||||
$sql = "CREATE TABLE sessions (
|
||||
session_id varchar(255) NOT NULL,
|
||||
session_lid varchar(20),
|
||||
session_lid varchar(255),
|
||||
session_pwd varchar(255),
|
||||
session_ip varchar(255),
|
||||
session_logintime int(11),
|
||||
|
@ -331,15 +331,26 @@
|
||||
}
|
||||
|
||||
if ($currentver == "0.9.4pre3") {
|
||||
$sql = "ALTER TABLE todo ADD todo_startdate int(11) not null";
|
||||
$db->query($sql);
|
||||
$sql = "ALTER TABLE todo ADD todo_startdate int(11) not null";
|
||||
$db->query($sql);
|
||||
|
||||
$sql = "ALTER TABLE todo CHANGE todo_datedue todo_enddate int(11) not null";
|
||||
$db->query($sql);
|
||||
$sql = "ALTER TABLE todo CHANGE todo_datedue todo_enddate int(11) not null";
|
||||
$db->query($sql);
|
||||
|
||||
$currentver = "0.9.4pre4";
|
||||
update_version_table();
|
||||
$currentver = "0.9.4pre4";
|
||||
update_version_table();
|
||||
}
|
||||
if ($currentver == "0.9.4pre4") {
|
||||
$sql = "ALTER TABLE todo ADD todo_startdate int(11) not null";
|
||||
$db->query($sql);
|
||||
|
||||
$sql = "alter table sessions change session_lid session_lid varchar(255)";
|
||||
$db->query($sql);
|
||||
|
||||
$currentver = "0.9.4pre5";
|
||||
update_version_table();
|
||||
}
|
||||
|
||||
echo " <tr bgcolor=\"e6e6e6\">\n";
|
||||
echo " <td>Upgrade from 0.9.3 to $currentver is completed.</td>\n";
|
||||
echo " </tr>\n";
|
||||
|
@ -56,7 +56,7 @@
|
||||
|
||||
$sql = "create table sessions (
|
||||
session_id varchar(255),
|
||||
session_lid varchar(20),
|
||||
session_lid varchar(255),
|
||||
session_pwd varchar(255),
|
||||
session_ip varchar(255),
|
||||
session_logintime int,
|
||||
|
Loading…
Reference in New Issue
Block a user