From bab4a8bd9772137a187f48beb6e61c185932b692 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 2 Jan 2007 21:48:57 +0100 Subject: check for preg_replace in install.php to avoid problems like in http://forum.dokuwiki.org/thread/521 darcs-hash:20070102204857-7ad00-9a352a5503114c2df20eb2aded243c2c9e50abe8.gz --- install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'install.php') diff --git a/install.php b/install.php index d7f0e962b..e955cf0af 100644 --- a/install.php +++ b/install.php @@ -427,7 +427,8 @@ function check_functions(){ 'file file_exists fseek flush filesize ftell fopen '. 'glob header ignore_user_abort ini_get mail mkdir '. 'ob_start opendir parse_ini_file readfile realpath '. - 'rename rmdir serialize session_start unlink usleep'); + 'rename rmdir serialize session_start unlink usleep'. + 'preg_replace'); if (!function_exists('mb_substr')) { $funcs[] = 'utf8_encode'; -- cgit v1.2.3