summaryrefslogtreecommitdiff
path: root/install_checks.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2010-03-22 21:15:04 +0000
committerLester Caine <lester@lsces.co.uk>2010-03-22 21:15:04 +0000
commit623b9976954189a2ae6c8fbd1410abbed446d57e (patch)
tree27d86f3d5c86aec32943d1f29914a25ea8f38d80 /install_checks.php
parentb98d7c751c48f9a10ccf116fbe0dc7e154a6b009 (diff)
downloadinstall-623b9976954189a2ae6c8fbd1410abbed446d57e.tar.gz
install-623b9976954189a2ae6c8fbd1410abbed446d57e.tar.bz2
install-623b9976954189a2ae6c8fbd1410abbed446d57e.zip
eregi_replace converted for PHP5.3 compliance
Diffstat (limited to 'install_checks.php')
-rw-r--r--install_checks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/install_checks.php b/install_checks.php
index 85f261b..3835f24 100644
--- a/install_checks.php
+++ b/install_checks.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/install_checks.php,v 1.38 2009/05/14 06:56:49 lsces Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/install_checks.php,v 1.39 2010/03/22 21:15:04 lsces Exp $
* @package install
* @subpackage functions
* @author xing
@@ -264,7 +264,7 @@ function check_settings() {
// recommended php toggles - these don't need explicit explanations on how to rectify them
// start with special cases
$recommended[$i] = array( 'Memory Limit','memory_limit','shouldbe' => 'at least 16M', 'actual' => get_cfg_var( 'memory_limit' ) );
- if( eregi_replace( 'M','',get_cfg_var( 'memory_limit' ) ) > 15 ) {
+ if( preg_replace( '/M/i','',get_cfg_var( 'memory_limit' ) ) > 15 ) {
$recommended[$i]['passed'] = TRUE;
} else {
$recommended[$i]['passed'] = FALSE;