forked from extern/egroupware
Temp fix for setup .. it doesn't like the change from applications to phpgw_applications
This commit is contained in:
parent
f0bafc4987
commit
53d641bd9a
@ -207,8 +207,18 @@
|
||||
return 4;
|
||||
}
|
||||
}else{
|
||||
$phpgw_info["setup"]["header_msg"] = "Stage 1 (Tables appear to be pre-beta)";
|
||||
return 2;
|
||||
$this->db->query("select * from applications");
|
||||
while (@$this->db->next_record()) {
|
||||
if ($this->db->f("app_name") == "admin"){$phpgw_info["setup"]["oldver"]["phpgwapi"] = $this->db->f("app_version");}
|
||||
$phpgw_info["setup"]["oldver"][$this->db->f("app_name")] = $this->db->f("app_version");
|
||||
$phpgw_info["setup"][$this->db->f("app_name")]["title"] = $this->db->f("app_title");
|
||||
}
|
||||
if ($phpgw_info["setup"]["oldver"]["phpgwapi"] != $phpgw_info["server"]["versions"]["phpgwapi"]){
|
||||
return 4;
|
||||
} else {
|
||||
$phpgw_info["setup"]["header_msg"] = "Stage 1 (Tables appear to be pre-beta)";
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
/* no tables, so checking if we can create them */
|
||||
|
Loading…
Reference in New Issue
Block a user