aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/index.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-07-28 10:41:55 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-07-28 10:41:55 +0000
commit5d52b5185300af5d13dc5db7062759bce7ee949e (patch)
tree7279f4dc19cda7abbff0688afae1b4cbc5ee79ed /phpBB/install/index.php
parent48db93349e1e7b8a23b8724d941e0396ca06175f (diff)
downloadforums-5d52b5185300af5d13dc5db7062759bce7ee949e.tar
forums-5d52b5185300af5d13dc5db7062759bce7ee949e.tar.gz
forums-5d52b5185300af5d13dc5db7062759bce7ee949e.tar.bz2
forums-5d52b5185300af5d13dc5db7062759bce7ee949e.tar.xz
forums-5d52b5185300af5d13dc5db7062759bce7ee949e.zip
let it work under different languages.
git-svn-id: file:///svn/phpbb/trunk@7967 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/index.php')
-rwxr-xr-xphpBB/install/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index d2a806014d..7b0f120577 100755
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -105,14 +105,14 @@ else
// Try to override some limits - maybe it helps some...
@set_time_limit(0);
$mem_limit = @ini_get('memory_limit');
-if (!empty($mem_limit ))
+if (!empty($mem_limit))
{
$unit = strtolower(substr($mem_limit, -1, 1));
- $mem_limit = (int)$mem_limit;
+ $mem_limit = (int) $mem_limit;
if ($unit == 'k')
{
$mem_limit = floor($mem_limit/1024);
- }
+ }
else if ($unit == 'g')
{
$mem_limit *= 1024;
@@ -127,7 +127,7 @@ else
{
$mem_limit = '128M';
}
-@ini_set('memory_limit', $mem_limit );
+@ini_set('memory_limit', $mem_limit);
// Include essential scripts
require($phpbb_root_path . 'includes/functions.' . $phpEx);