| 26 |
along with this program; if not, write to the Free Software |
along with this program; if not, write to the Free Software |
| 27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 28 |
*/ |
*/ |
| 29 |
/* $Id: downloadhandler.php,v 1.3.2.5 2006/03/26 21:54:53 elmuerte Exp $ */ |
/* $Id: downloadhandler.php,v 1.3.2.6 2006/03/29 19:31:10 elmuerte Exp $ */ |
| 30 |
|
|
| 31 |
|
|
| 32 |
define("READBUFFER_SIZE", 4096); // read buffer size |
define("READBUFFER_SIZE", 4096); // read buffer size |
| 74 |
global $__fr_reporting_leech; |
global $__fr_reporting_leech; |
| 75 |
if (!$__fr_reporting_leech) return; |
if (!$__fr_reporting_leech) return; |
| 76 |
if (!function_exists('watchdog')) return; |
if (!function_exists('watchdog')) return; |
| 77 |
watchdog('download leech', "File: <i>".$_GET["file"]."</i>", WATCHDOG_NOTICE, '<a href="'.$_SERVER["HTTP_REFERER"].'">referer</a>'); |
watchdog('download leech', "File: <i>".$_GET["file"]."</i><br />\nSource: <i>".$_SERVER["HTTP_REFERER"]."</i>", WATCHDOG_NOTICE); |
| 78 |
} |
} |
| 79 |
|
|
| 80 |
/** |
/** |