mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Change error message to egw
This commit is contained in:
parent
60646ef432
commit
13813b67de
@ -24,9 +24,9 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
/****************************************************************************\
|
/***************************************************************************\
|
||||||
* If running in PHP3, then force admin to upgrade *
|
* If running in PHP3, then force admin to upgrade *
|
||||||
\****************************************************************************/
|
\***************************************************************************/
|
||||||
|
|
||||||
if (!function_exists('version_compare'))//version_compare() is only available in PHP4.1+
|
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->Halt_On_Error = 'no';
|
||||||
@$GLOBALS['phpgw']->db->query("select count(config_name) from phpgw_config");
|
@$GLOBALS['phpgw']->db->query("SELECT COUNT(config_name) FROM phpgw_config");
|
||||||
if(!@$GLOBALS['phpgw']->db->next_record())
|
if(!@$GLOBALS['phpgw']->db->next_record())
|
||||||
{
|
{
|
||||||
$setup_dir = str_replace($_SERVER['PHP_SELF'],'index.php','setup/');
|
$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 '
|
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;
|
exit;
|
||||||
}
|
}
|
||||||
$GLOBALS['phpgw']->db->Halt_On_Error = 'yes';
|
$GLOBALS['phpgw']->db->Halt_On_Error = 'yes';
|
||||||
|
Loading…
Reference in New Issue
Block a user