| 1 |
<?php |
<?php |
| 2 |
// $Id: filerequest.module,v 1.4.2.2 2006/07/10 17:05:33 elmuerte Exp $ |
// $Id: filerequest.module,v 1.4.2.3 2006/08/02 10:25:40 elmuerte Exp $ |
| 3 |
|
|
| 4 |
function filerequest_help($section) { |
function filerequest_help($section) { |
| 5 |
switch ($section) { |
switch ($section) { |
| 103 |
|
|
| 104 |
if (defined("__FILEREQ_LEECH")) |
if (defined("__FILEREQ_LEECH")) |
| 105 |
{ |
{ |
| 106 |
|
global $__fr_reporting_leech; |
| 107 |
|
if ($__fr_reporting_leech) __fr_delayed_report(); |
| 108 |
$result = db_result(db_query("SELECT nid FROM {files} WHERE filepath = '%s'", $config["filename"])); |
$result = db_result(db_query("SELECT nid FROM {files} WHERE filepath = '%s'", $config["filename"])); |
| 109 |
if ($result !== false) |
if ($result !== false) |
| 110 |
{ |
{ |