From 46b995937ce49d16cd6d3d1e1f69a70d421453e8 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 1 Jun 2005 18:26:05 +0000 Subject: [PATCH] git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@576 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/setup_checks.inc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/include/setup_checks.inc b/include/setup_checks.inc index 050cd69a4..428257670 100644 --- a/include/setup_checks.inc +++ b/include/setup_checks.inc @@ -339,15 +339,13 @@ function perform_additional_checks(&$faults) ($have_mkntpwd || $alt)); /* seesio.auto_start should be off, in order to without trouble*/ - $arra = ini_get_all(); - - $session_auto_start = $arra['session.auto_start']; - $implicit_flush = $arra['implicit_flush']; - $max_execution_time = $arra['max_execution_time']; - $memory_limit = $arra['memory_limit']; - $expose_php = $arra['expose_php']; - $magic_quotes_gpc = $arra['magic_quotes_gpc']; - $register_globals = $arra['register_globals']; + $session_auto_start = ini_get('session.auto_start'); + $implicit_flush = ini_get('implicit_flush'); + $max_execution_time = ini_get('max_execution_time'); + $memory_limit = ini_get('memory_limit'); + $expose_php = ini_get('expose_php'); + $magic_quotes_gpc = ini_get('magic_quotes_gpc'); + $register_globals = ini_get('register_globals'); /* auto_register */ $msg.= check ( $faults, _("php.ini check -> session.auto_register"), -- 2.30.2