summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'install.php')
-rw-r--r--install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php
index dc40024..0a4647b 100644
--- a/install.php
+++ b/install.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/install.php,v 1.27 2009/02/03 22:24:52 dansut Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/install.php,v 1.28 2009/03/06 17:07:58 spiderr Exp $
* @package install
* @subpackage functions
*/
@@ -21,7 +21,7 @@ if( !empty( $_REQUEST['step'] ) && $_REQUEST['step'] == 0 ) {
// Early check of memory limit just to be sure we can run.
// Set the number '15' to a lower value if you know that the install process can handle it.
-if( eregi_replace( 'M','',get_cfg_var( 'memory_limit' )) < 15 ) {
+if( get_cfg_var( 'memory_limit' ) !== FALSE && eregi_replace( 'M','',get_cfg_var( 'memory_limit' )) < 15 ) {
$dir = dirname( $_SERVER['PHP_SELF'] );
// We don't use smarty to avoid using any memory since we already know there is a problem.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">