aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download/file.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-12-24 14:44:19 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-12-24 14:44:19 +0000
commit3cd007c49d776b4e76f939dbd7d7c328bd09abe9 (patch)
tree287c795585bd490712255b17d0962ce5e838c36b /phpBB/download/file.php
parentac37f87105173ae50c357c96ffee43ef4d4b41f5 (diff)
downloadforums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar
forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar.gz
forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar.bz2
forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar.xz
forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.zip
change cache:: to phpbb_cache::
git-svn-id: file:///svn/phpbb/trunk@9226 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/download/file.php')
-rw-r--r--phpBB/download/file.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index d1f6316551..7923a5988d 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -17,7 +17,7 @@ if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
include(PHPBB_ROOT_PATH . 'common.' . PHP_EXT);
-// Thank you sun.
+// Thank you sun.
if (isset($_SERVER['CONTENT_TYPE']))
{
if ($_SERVER['CONTENT_TYPE'] === 'application/x-java-archive')
@@ -35,11 +35,11 @@ if (request::is_set('avatar', request::GET))
// worst-case default
$browser = (!empty($_SERVER['HTTP_USER_AGENT'])) ? htmlspecialchars((string) $_SERVER['HTTP_USER_AGENT']) : 'msie 6.0';
- $config = cache::obtain_config();
+ $config = phpbb_cache::obtain_config();
$filename = request::variable('avatar', '', false, request::GET);
$avatar_group = false;
$exit = false;
-
+
if ($filename[0] === 'g')
{
$avatar_group = true;
@@ -66,8 +66,8 @@ if (request::is_set('avatar', request::GET))
header("HTTP/1.0 403 Forbidden");
$exit = true;
}
-
-
+
+
if (!$exit)
{
if (!$filename)
@@ -133,7 +133,7 @@ if ($attachment['is_orphan'])
}
// Obtain all extensions...
- $extensions = cache::obtain_attach_extensions(true);
+ $extensions = phpbb_cache::obtain_extensions();
}
else
{