mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
replace one ereg_replace() with str_replace()
This commit is contained in:
parent
b05fc623e2
commit
69b629038a
@ -153,7 +153,7 @@
|
||||
@$GLOBALS['phpgw']->db->query("select count(config_name) from phpgw_config");
|
||||
if (! @$GLOBALS['phpgw']->db->next_record())
|
||||
{
|
||||
$setup_dir = ereg_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 '
|
||||
.'phpGroupWare. Click <a href="' . $setup_dir . '">here</a> to run setup.</center>';
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user