Clean up HTML and PHP, remove extranious checks for loggedin()
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
/************************************************/
|
||||
|
||||
include("path.php");
|
||||
if(!havepriv("admin"))
|
||||
{
|
||||
errorpage("Insufficient privileges.");
|
||||
exit;
|
||||
}
|
||||
if($info=getimagesize("../data/queued/screenshots/".$_REQUEST['queueId']))
|
||||
{
|
||||
header('Content-type: '.$info['mime']);
|
||||
|
||||
Reference in New Issue
Block a user