diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-02-19 11:20:54 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2010-02-19 11:23:36 +0100 |
commit | 00ed153bee1758c80db5ca440c67db2c1ab4d171 (patch) | |
tree | c007f4df49bd7c7b1c1e1c73792c5f1a1c5f14b9 /paste/get.php | |
parent | 10a9b20a5eecf6b932716cb4250a5a53214519b4 (diff) | |
download | rafb-nopaste-00ed153bee1758c80db5ca440c67db2c1ab4d171.tar.gz rafb-nopaste-00ed153bee1758c80db5ca440c67db2c1ab4d171.tar.xz rafb-nopaste-00ed153bee1758c80db5ca440c67db2c1ab4d171.zip |
fixed unicode issues
Diffstat (limited to '')
-rw-r--r-- | paste/get.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/paste/get.php b/paste/get.php index 33d8aae..735822b 100644 --- a/paste/get.php +++ b/paste/get.php @@ -43,8 +43,10 @@ if (!is_subclass_of($config['storage'], 'StorageEngine')) die('Invalid config'); } -if (isset($_GET['p'])) +if (isset($_GET['p'])) { + header("Content-type: text/html; charset=utf-8"); die($config['storage']->getContent($_GET['p'])); +} header('Location: ' . $config['site_domain'] . $config['site_path']); ?> |