mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 09:28:29 +01:00
Change error message to egw
This commit is contained in:
parent
60646ef432
commit
13813b67de
@ -24,9 +24,9 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
/****************************************************************************\
|
||||
/***************************************************************************\
|
||||
* If running in PHP3, then force admin to upgrade *
|
||||
\****************************************************************************/
|
||||
\***************************************************************************/
|
||||
|
||||
if (!function_exists('version_compare'))//version_compare() is only available in PHP4.1+
|
||||
{
|
||||
@ -150,12 +150,12 @@
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw']->db->Halt_On_Error = 'no';
|
||||
@$GLOBALS['phpgw']->db->query("select count(config_name) from phpgw_config");
|
||||
if (! @$GLOBALS['phpgw']->db->next_record())
|
||||
@$GLOBALS['phpgw']->db->query("SELECT COUNT(config_name) FROM phpgw_config");
|
||||
if(!@$GLOBALS['phpgw']->db->next_record())
|
||||
{
|
||||
$setup_dir = str_replace($_SERVER['PHP_SELF'],'index.php','setup/');
|
||||
echo '<center><b>Fatal Error:</b> It appears that you have not created the database tables for '
|
||||
.'phpGroupWare. Click <a href="' . $setup_dir . '">here</a> to run setup.</center>';
|
||||
.'eGroupWare. Click <a href="' . $setup_dir . '">here</a> to run setup.</center>';
|
||||
exit;
|
||||
}
|
||||
$GLOBALS['phpgw']->db->Halt_On_Error = 'yes';
|
||||
|
Loading…
Reference in New Issue
Block a user