diff options
author | Andreas Gohr <andi@splitbrain.org> | 2005-08-14 12:18:34 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2005-08-14 12:18:34 +0200 |
commit | 6de3759a1b7a74492845c76e1f0bd1078e2220c7 (patch) | |
tree | 96975cbac21a72f29934013e1e6bd6f4711f60d7 /lib/exe/fetch.php | |
parent | 706882dcf32358de6c9300ced7b5fcfa9ba28771 (diff) | |
download | rpg-6de3759a1b7a74492845c76e1f0bd1078e2220c7.tar.gz rpg-6de3759a1b7a74492845c76e1f0bd1078e2220c7.tar.bz2 |
URL rewriting for media files
This patch adds nicer URLs for media files (for fetch.php and
detail.php)
!IMPORTANT! Users of rewrite mode 1 need to adjust their .htaccess
See .htaccess.dist for an example
darcs-hash:20050814101834-7ad00-37ef1dea00affc9d808d9ee1289fa7454199cd24.gz
Diffstat (limited to 'lib/exe/fetch.php')
-rw-r--r-- | lib/exe/fetch.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php index 812850267..e647ea384 100644 --- a/lib/exe/fetch.php +++ b/lib/exe/fetch.php @@ -18,7 +18,7 @@ $mimetypes = getMimeTypes(); //get input - $MEDIA = $_REQUEST['media']; + $MEDIA = getID('media'); $CACHE = calc_cache($_REQUEST['cache']); $WIDTH = $_REQUEST['w']; $HEIGHT = $_REQUEST['h']; |