mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02:00
git-svn-id: file:///svn/phpbb/trunk@8112 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b92998f31a
commit
cb85c2c57c
@ -30,6 +30,8 @@ class acp_icons
|
||||
$action = (isset($_POST['import'])) ? 'import' : $action;
|
||||
$icon_id = request_var('id', 0);
|
||||
|
||||
$mode = ($mode == 'smilies') ? 'smilies' : 'icons';
|
||||
|
||||
$this->tpl_name = 'acp_icons';
|
||||
|
||||
// What are we working on?
|
||||
@ -658,8 +660,8 @@ class acp_icons
|
||||
header('Pragma: public');
|
||||
|
||||
// Send out the Headers
|
||||
header('Content-Type: text/x-delimtext; name="' . $fields . '.pak"');
|
||||
header('Content-Disposition: inline; filename="' . $fields . '.pak"');
|
||||
header('Content-Type: text/x-delimtext; name="' . $mode . '.pak"');
|
||||
header('Content-Disposition: inline; filename="' . $mode . '.pak"');
|
||||
echo $pak;
|
||||
|
||||
flush();
|
||||
|
Loading…
x
Reference in New Issue
Block a user