aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-02-26 13:17:45 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-02-26 13:17:45 +0000
commitd95588823a7e2797fa3502ea145ca54689135a16 (patch)
tree927aa2b4faa6b3657eb4718b19c4df83cf8eac61 /phpBB/install
parente295cab3043d1eafc3ab4344ab83dae171e058cc (diff)
downloadforums-d95588823a7e2797fa3502ea145ca54689135a16.tar
forums-d95588823a7e2797fa3502ea145ca54689135a16.tar.gz
forums-d95588823a7e2797fa3502ea145ca54689135a16.tar.bz2
forums-d95588823a7e2797fa3502ea145ca54689135a16.tar.xz
forums-d95588823a7e2797fa3502ea145ca54689135a16.zip
only minor changes, some notes, played around with the code... nothing special.
git-svn-id: file:///svn/phpbb/trunk@3543 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/install.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php
index 95c612cc55..1b458d278d 100644
--- a/phpBB/install/install.php
+++ b/phpBB/install/install.php
@@ -581,15 +581,15 @@ else
$check_extensions = array();
$suffix = ( (defined('PHP_OS')) && (eregi('win', PHP_OS)) ) ? '.dll' : '.so';
- for ($i = 0; $i < count($check_extensions); $i++)
+ foreach ($check_extensions as $extension)
{
- if (!@extension_loaded($check_extensions[$i]))
+ if (!@extension_loaded($extension))
{
if ( (!@ini_get('safe_mode')) && (@ini_get('enable_dl')) )
{
- if (@dl($check_extensions[$i] . $suffix))
+ if (@dl($extension . $suffix))
{
- $load_extensions .= ($load_extensions == '') ? $check_extensions[$i] . $suffix : ',' . $check_extensions[$i] . $suffix;
+ $load_extensions .= ($load_extensions == '') ? $extension . $suffix : ',' . $extension . $suffix;
}
}
}