aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_install.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2009-06-18 13:08:02 +0000
committerChris Smith <toonarmy@phpbb.com>2009-06-18 13:08:02 +0000
commitde81a5499ea941613401bd7e846db224d6d23054 (patch)
treed1672bbd8edb7d6072f469bfd4b91147c83b1995 /phpBB/includes/functions_install.php
parent11d8d3455a97bae1945bb578c761eaa67292622f (diff)
downloadforums-de81a5499ea941613401bd7e846db224d6d23054.tar
forums-de81a5499ea941613401bd7e846db224d6d23054.tar.gz
forums-de81a5499ea941613401bd7e846db224d6d23054.tar.bz2
forums-de81a5499ea941613401bd7e846db224d6d23054.tar.xz
forums-de81a5499ea941613401bd7e846db224d6d23054.zip
'I think the phrase rhymes with Clucking Bell!'
Fix spaces in r9618 stupid [code] block :@ git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9620 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_install.php')
-rw-r--r--phpBB/includes/functions_install.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php
index 42b9b4e318..7fa299548d 100644
--- a/phpBB/includes/functions_install.php
+++ b/phpBB/includes/functions_install.php
@@ -23,10 +23,10 @@ function can_load_dll($dll)
{
// SQLite2 is a tricky thing, from 5.0.0 it requires PDO; if PDO is not loaded we must state that SQLite is unavailable
// as the installer doesn't understand that the extension has a prerequisite.
- if ($dll == 'sqlite' && version_compare(PHP_VERSION, '5.0.0', '>=') && !extension_loaded('pdo'))
- {
- return false;
- }
+ if ($dll == 'sqlite' && version_compare(PHP_VERSION, '5.0.0', '>=') && !extension_loaded('pdo'))
+ {
+ return false;
+ }
return ((@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'on') && (!@ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'off') && function_exists('dl') && @dl($dll . '.' . PHP_SHLIB_SUFFIX)) ? true : false;
}