aboutsummaryrefslogtreecommitdiff
path: root/www/dokuwiki/files
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-10-09 17:06:42 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-10-09 17:06:42 +0000
commitc8565321dd06f75accae54d82634c438a9dbd5f0 (patch)
treeb7e53a4df7b02b9767207f76f0eaa6b89a13d054 /www/dokuwiki/files
parentfefe2fb57aee07ed837c919ea036b3c148649361 (diff)
downloadports-c8565321dd06f75accae54d82634c438a9dbd5f0.tar.gz
ports-c8565321dd06f75accae54d82634c438a9dbd5f0.zip
Notes
Diffstat (limited to 'www/dokuwiki/files')
-rw-r--r--www/dokuwiki/files/patch-lib-exe-fetch.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/www/dokuwiki/files/patch-lib-exe-fetch.php b/www/dokuwiki/files/patch-lib-exe-fetch.php
deleted file mode 100644
index 6210e59c9ea3..000000000000
--- a/www/dokuwiki/files/patch-lib-exe-fetch.php
+++ /dev/null
@@ -1,24 +0,0 @@
---- lib/exe/fetch.php.bak Fri Mar 10 04:32:34 2006
-+++ lib/exe/fetch.php Fri Sep 29 12:54:09 2006
-@@ -21,8 +21,8 @@
- //get input
- $MEDIA = getID('media',false); // no cleaning - maybe external
- $CACHE = calc_cache($_REQUEST['cache']);
-- $WIDTH = $_REQUEST['w'];
-- $HEIGHT = $_REQUEST['h'];
-+ $WIDTH = (int) $_REQUEST['w'];
-+ $HEIGHT = (int) $_REQUEST['h'];
- list($EXT,$MIME) = mimetype($MEDIA);
- if($EXT === false){
- $EXT = 'unknown';
-@@ -198,6 +198,10 @@
- $info = getimagesize($file);
- if(!$h) $h = round(($w * $info[1]) / $info[0]);
-
-+ /*
-+ * This is the fix for http://bugs.splitbrain.org/?do=details&id=924
-+ */
-+ if($w > 2000 || $h > 2000) return $file;
-
- //cache
- $local = getCacheName($file,'.media.'.$w.'x'.$h.'.'.$ext);