From 69b629038aee467b519022157e5bb16ef6880e3c Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Wed, 10 Dec 2003 11:34:39 +0000 Subject: [PATCH] replace one ereg_replace() with str_replace() --- phpgwapi/inc/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index e1f14ade3a..c0fee5bb15 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -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 '
Fatal Error: It appears that you have not created the database tables for ' .'phpGroupWare. Click here to run setup.
'; exit;