From 49eb6e38061d744f4a35b78082dce49fa35f79c8 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 15 Jan 2010 19:50:13 +0100 Subject: some more coding standard compliance updates --- install.php | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'install.php') diff --git a/install.php b/install.php index 414d3e99e..a9edbd445 100644 --- a/install.php +++ b/install.php @@ -202,16 +202,16 @@ function print_form($d){ } function print_retry() { - global $lang; - global $LC; -?> + global $lang; + global $LC; + ?>
- DOKU_LOCAL.'acl.auth.php' ); - // main dokuwiki config file (conf/dokuwiki.php) must not have been modified $installation_hash = md5(preg_replace("/(\015\012)|(\015)/","\012", @file_get_contents(DOKU_CONF.'dokuwiki.php'))); @@ -437,8 +436,8 @@ function check_functions(){ 'preg_replace file_get_contents htmlspecialchars_decode'); if (!function_exists('mb_substr')) { - $funcs[] = 'utf8_encode'; - $funcs[] = 'utf8_decode'; + $funcs[] = 'utf8_encode'; + $funcs[] = 'utf8_decode'; } foreach($funcs as $func){ @@ -505,12 +504,12 @@ function print_errors(){ * @author Andreas Gohr */ function remove_magic_quotes(&$array) { - foreach (array_keys($array) as $key) { - if (is_array($array[$key])) { - remove_magic_quotes($array[$key]); - }else { - $array[$key] = stripslashes($array[$key]); + foreach (array_keys($array) as $key) { + if (is_array($array[$key])) { + remove_magic_quotes($array[$key]); + }else { + $array[$key] = stripslashes($array[$key]); + } } - } } -- cgit v1.2.3