aboutsummaryrefslogtreecommitdiffstats
path: root/config/pf-blocker/pfblocker.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/pf-blocker/pfblocker.php')
-rw-r--r--config/pf-blocker/pfblocker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/pf-blocker/pfblocker.php b/config/pf-blocker/pfblocker.php
index b6c595ab..d6803b49 100644
--- a/config/pf-blocker/pfblocker.php
+++ b/config/pf-blocker/pfblocker.php
@@ -1,7 +1,7 @@
<?php
function get_networks($pfb){
$file='/usr/local/pkg/pfblocker_aliases/'.$pfb.'.txt';
- if ($file)
+ if (file_exists($file))
$return= file_get_contents($file);
print $return;
}