projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d762b38
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 09:00:42 +0000
(17:00 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 09:00:42 +0000
(17:00 +0800)
Iptables.php
patch
|
blob
|
history
diff --git
a/Iptables.php
b/Iptables.php
index
8e17d3c
..
9907b63
100644
(file)
--- a/
Iptables.php
+++ b/
Iptables.php
@@
-158,9
+158,9
@@
class Pman_Admin_Iptables extends Pman {
require_once 'System.php';
- $iptables = System::which('iptables');
+ $iptables = System::which('iptables'
, '/sbin/iptables'
);
- if (!$iptables) {
+ if (!$iptables
|| !file_exists($iptables)
) {
$this->jerr("iptables could not be found.");
}
// this should have been set up already..