@@ -177,10 +177,10 @@ discard block |
||
177 | 177 | // Create default log files. |
178 | 178 | if (is_writable($iptablesWatchingFolder)) { |
179 | 179 | fopen($iptablesWatchingFolder . '/iptables_queue.log', 'w+'); |
180 | - fopen($iptablesWatchingFolder . '/ipv4_status.log', 'w+'); |
|
181 | - fopen($iptablesWatchingFolder . '/ipv6_status.log', 'w+'); |
|
182 | - fopen($iptablesWatchingFolder . '/ipv4_command.log', 'w+'); |
|
183 | - fopen($iptablesWatchingFolder . '/ipv6_command.log', 'w+'); |
|
180 | + fopen($iptablesWatchingFolder . '/ipv4_status.log', 'w+'); |
|
181 | + fopen($iptablesWatchingFolder . '/ipv6_status.log', 'w+'); |
|
182 | + fopen($iptablesWatchingFolder . '/ipv4_command.log', 'w+'); |
|
183 | + fopen($iptablesWatchingFolder . '/ipv6_command.log', 'w+'); |
|
184 | 184 | |
185 | 185 | return $result; |
186 | 186 | } |
@@ -363,7 +363,7 @@ discard block |
||
363 | 363 | $redis = new Redis(); |
364 | 364 | $redis->connect( |
365 | 365 | (string) $this->getConfig('drivers.redis.host'), |
366 | - (int) $this->getConfig('drivers.redis.port') |
|
366 | + (int) $this->getConfig('drivers.redis.port') |
|
367 | 367 | ); |
368 | 368 | unset($redis); |
369 | 369 |
@@ -45,8 +45,8 @@ |
||
45 | 45 | try { |
46 | 46 | |
47 | 47 | $host = 'mysql' . |
48 | - ':host=' . $setting['host'] . |
|
49 | - ';dbname=' . $setting['dbname'] . |
|
48 | + ':host=' . $setting['host'] . |
|
49 | + ';dbname=' . $setting['dbname'] . |
|
50 | 50 | ';charset=' . $setting['charset']; |
51 | 51 | |
52 | 52 | $user = (string) $setting['user']; |