summaryrefslogtreecommitdiff
path: root/install_checks.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-06-30 14:14:56 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-06-30 14:14:56 +0000
commitff891736eaa6330b6cfb76f6893f870632ae4ec3 (patch)
tree0c3026cce8be73d46111b8dd00f78b90dbf20a60 /install_checks.php
parent23d023e1bfa414a30b038b2b5f4f4207e053af94 (diff)
downloadinstall-ff891736eaa6330b6cfb76f6893f870632ae4ec3.tar.gz
install-ff891736eaa6330b6cfb76f6893f870632ae4ec3.tar.bz2
install-ff891736eaa6330b6cfb76f6893f870632ae4ec3.zip
add a generic mail() check
Diffstat (limited to 'install_checks.php')
-rw-r--r--install_checks.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/install_checks.php b/install_checks.php
index aa69724..10b7419 100644
--- a/install_checks.php
+++ b/install_checks.php
@@ -1,13 +1,13 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/install_checks.php,v 1.32 2008/06/08 11:22:56 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/install_checks.php,v 1.33 2008/06/30 14:14:56 squareing Exp $
* @package install
* @subpackage functions
* @author xing
*/
// assign next step in installation process
-$gBitSmarty->assign( 'next_step',$step + 1 );
+$gBitSmarty->assign( 'next_step', $step + 1 );
$check_settings = check_settings();
@@ -27,8 +27,8 @@ if( !isset( $_SERVER['HTTP_REFERER'] ) ) {
* check_settings
*/
function check_settings() {
- global $gBitSmarty,$error,$warning;
- $config_file = clean_file_path( empty($_SERVER['CONFIG_INC']) ? (KERNEL_PKG_PATH.'config_inc.php') : $_SERVER['CONFIG_INC'] );
+ global $gBitSmarty, $error, $warning;
+ $config_file = clean_file_path( empty( $_SERVER['CONFIG_INC'] ) ? KERNEL_PKG_PATH.'config_inc.php' : $_SERVER['CONFIG_INC'] );
$i = 0;
// required settings - if not met, are passed into the array $reqd
@@ -288,9 +288,9 @@ function check_settings() {
// settings that are useful to know about
$php_ini_gets = array(
- array( '<strong>Maximum post size</strong> will restrict the size of files when you upload a file using a form<br />recommended <strong>8M</strong>.','post_max_size' ),
- array( '<strong>Upload max filesize</strong> is related to maximim post size and will also limit the size of uploads<br />recommended <strong>8M</strong>.','upload_max_filesize' ),
- array( '<strong>Maximum execution time</strong> is related to time outs in PHP - affects database upgrades and backups<br />recommended <strong>60</strong>.','max_execution_time' ),
+ array( '<strong>Maximum post size</strong> will restrict the size of files when you upload a file using a form<br />recommended at least <strong>8M</strong>.', 'post_max_size' ),
+ array( '<strong>Upload max filesize</strong> is related to maximim post size and will also limit the size of uploads<br />recommended at least <strong>8M</strong>.', 'upload_max_filesize' ),
+ array( '<strong>Maximum execution time</strong> is related to time outs in PHP - affects database upgrades and backups<br />recommended <strong>60</strong>.', 'max_execution_time' ),
);
foreach( $php_ini_gets as $php_ini_get ) {
$value = ini_get( $php_ini_get[1] );