summaryrefslogtreecommitdiff
path: root/install_checks.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2005-06-28 07:45:45 +0000
committerChristian Fowler <spider@viovio.com>2005-06-28 07:45:45 +0000
commit54937494744116492a4392f0cfb7fb9b625b124c (patch)
tree63ce18cfeb3b51f286538bde85ef19371e68adcf /install_checks.php
parent0e99211955eb1a6ca4a09e79506faf4d80cabac0 (diff)
downloadinstall-54937494744116492a4392f0cfb7fb9b625b124c.tar.gz
install-54937494744116492a4392f0cfb7fb9b625b124c.tar.bz2
install-54937494744116492a4392f0cfb7fb9b625b124c.zip
Merge recent changes from R1 into HEAD
Diffstat (limited to 'install_checks.php')
-rw-r--r--install_checks.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/install_checks.php b/install_checks.php
index a60548e..b90f207 100644
--- a/install_checks.php
+++ b/install_checks.php
@@ -1,6 +1,9 @@
<?php
-
-// $Header: /cvsroot/bitweaver/_bit_install/install_checks.php,v 1.2 2005/06/21 12:27:19 lsces Exp $
+/**
+ * @version $Header: /cvsroot/bitweaver/_bit_install/install_checks.php,v 1.3 2005/06/28 07:45:45 spiderr Exp $
+ * @package install
+ * @subpackage functions
+ */
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
@@ -24,6 +27,9 @@ if( !isset( $_SERVER['HTTP_REFERER'] ) ) {
$error = TRUE;
}
+/**
+ * check_settings
+ */
function check_settings() {
global $smarty,$error,$warning;
$config_file = clean_file_path( empty($_SERVER['CONFIG_INC']) ? (KERNEL_PKG_PATH.'config_inc.php') : $_SERVER['CONFIG_INC'] );
@@ -154,6 +160,9 @@ function check_settings() {
return $res;
}
+/**
+ * get_php_setting
+ */
function get_php_setting( $val ) {
$r = ( ini_get( $val ) == '1' ? 1 : 0 );
return $r ? 'ON' : 'OFF';