mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-12 18:36:29 +00:00
Empty commit
This commit is contained in:
parent
58e172e2e2
commit
b1757b6ef4
@ -1,11 +1,8 @@
|
||||
<?
|
||||
// Main image proxy page
|
||||
// The image proxy does not use script_start.php. Its code, instead, resides entirely in image.php in the document root
|
||||
// Bear this in mind when you try to use script_start functions.
|
||||
|
||||
if (!check_perms('site_proxy_images')) {
|
||||
img_error('forbidden');
|
||||
}
|
||||
|
||||
$URL = isset($_GET['i']) ? htmlspecialchars_decode($_GET['i']) : null;
|
||||
|
||||
if (!extension_loaded('openssl') && strtoupper($URL[4]) == 'S') {
|
||||
@ -129,14 +126,9 @@ function reset_image($UserID, $Type, $AdminComment, $PrivMessage) {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
TODO: solve this properly for photoshop output images which prepend shit to the image file. skip it or strip it
|
||||
if (!isset($FileType)) {
|
||||
img_error('timeout');
|
||||
}
|
||||
*/
|
||||
if (isset($FileType)) {
|
||||
header("Content-type: image/$FileType");
|
||||
}
|
||||
|
||||
header("Content-type: image/$FileType");
|
||||
echo $Data;
|
||||
?>
|
||||
|
@ -60,7 +60,8 @@
|
||||
$FullName = "$Request[Title] [$Request[Year]]";
|
||||
$DisplayLink = "<span dir=\"ltr\">$Request[Title]</span> [$Request[Year]]";
|
||||
} else {
|
||||
$FullName = $DisplayLink = "<span dir=\"ltr\">$Request[Title]</span>";
|
||||
$FullName = $Request['Title'];
|
||||
$DisplayLink = "<span dir=\"ltr\">$Request[Title]</span>";
|
||||
}
|
||||
|
||||
//Votes time
|
||||
|
Loading…
Reference in New Issue
Block a user