This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ign_filter_downloads() //callback routine called by file_download | |
{ | |
global $id, $file_error, $ign_user, $pretext, $s; | |
if(empty($id)) { | |
//no $id means we need to reparse the URL... | |
extract($pretext); | |
if($prefs['permlink_mode']=='messy') { | |
$id = gps('id'); //get $id from GET | |
} else { //we need to parse the uri |
NewerOlder