diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-01-02 21:48:57 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-01-02 21:48:57 +0100 |
commit | bab4a8bd9772137a187f48beb6e61c185932b692 (patch) | |
tree | c3a1e629275d96597114f1892a5b2535cb32df1b /install.php | |
parent | d1dc65328cfef8cccbb2fd83c98c4716e402dbe7 (diff) | |
download | rpg-bab4a8bd9772137a187f48beb6e61c185932b692.tar.gz rpg-bab4a8bd9772137a187f48beb6e61c185932b692.tar.bz2 |
check for preg_replace in install.php
to avoid problems like in http://forum.dokuwiki.org/thread/521
darcs-hash:20070102204857-7ad00-9a352a5503114c2df20eb2aded243c2c9e50abe8.gz
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 3 |
1 files changed, 2 insertions, 1 deletions
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'; |