replace one ereg_replace() with str_replace()

This commit is contained in:
Miles Lott 2003-12-10 11:34:39 +00:00
parent b05fc623e2
commit 69b629038a

View File

@ -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;