scratch

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 90  →  ?path2? @ 89
/graph.php
@@ -64,19 +64,18 @@
die('File not found.');
}
 
$URL = $config['URL_PATH'].$_GET['hash'];
list($width, $height) = getimagesize($userPath);
 
switch(strtoupper($fileExtension)) {
case 'GIF':
list($width, $height) = getimagesize($userPath);
echo <<<END
$imagePath = $config['URL_PATH'].$_GET['hash'];
 
echo <<<END
<html>
<head>
<meta property="og:site_name" content="Scratch Copy">
<meta property="og:url" content="$URL">
<meta property="og:url" content="$imagePath">
<meta property="og:title" content="Scratch Copy">
<meta property="og:type" content="video.other">
<meta property="og:image" content="$URL">
<meta property="og:image" content="$imagePath">
<meta property="og:image:width" content="$width">
<meta property="og:image:height" content="$height">
</head>
@@ -83,14 +82,9 @@
 
<body>
<p>
<img src="$URL">
<img src="$imagePath">
</p>
</body>
 
</html>
END;
break;
}