@@ -14,7 +14,7 @@ |
||
14 | 14 | } |
15 | 15 | |
16 | 16 | public function get_js() { |
17 | - return file_get_contents(__DIR__ . "/init.js"); |
|
17 | + return file_get_contents(__DIR__."/init.js"); |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | public function api_version() { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | } |
15 | 15 | |
16 | 16 | public function get_js() { |
17 | - return file_get_contents(__DIR__ . "/init.js"); |
|
17 | + return file_get_contents(__DIR__."/init.js"); |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | public function api_version() { |
@@ -92,7 +92,7 @@ |
||
92 | 92 | class="input input-text" |
93 | 93 | value="<?php echo $_SESSION["fake_password"] ?>"/> |
94 | 94 | </fieldset> |
95 | - <?php if (strpos(PLUGINS, "auth_internal") !== FALSE) { ?> |
|
95 | + <?php if (strpos(PLUGINS, "auth_internal") !== false) { ?> |
|
96 | 96 | <fieldset class="align-right"> |
97 | 97 | <a href="public.php?op=forgotpass"><?php echo __("I forgot my password") ?></a> |
98 | 98 | </fieldset> |
@@ -6,7 +6,7 @@ |
||
6 | 6 | } |
7 | 7 | |
8 | 8 | public function process(&$article) { |
9 | - if (strpos($article["guid"], "loadingartist.com") !== FALSE) { |
|
9 | + if (strpos($article["guid"], "loadingartist.com") !== false) { |
|
10 | 10 | |
11 | 11 | // lol at people who block clients by user agent |
12 | 12 | // oh noes my ad revenue Q_Q |
@@ -7,13 +7,13 @@ |
||
7 | 7 | } |
8 | 8 | |
9 | 9 | public function process(&$article) { |
10 | - if (strpos($article["guid"], "bunicomic.com") !== FALSE || |
|
11 | - strpos($article["guid"], "buttersafe.com") !== FALSE || |
|
12 | - strpos($article["guid"], "extrafabulouscomics.com") !== FALSE || |
|
13 | - strpos($article["guid"], "happyjar.com") !== FALSE || |
|
14 | - strpos($article["guid"], "nedroid.com") !== FALSE || |
|
15 | - strpos($article["guid"], "stonetoss.com") !== FALSE || |
|
16 | - strpos($article["guid"], "csectioncomics.com") !== FALSE) { |
|
10 | + if (strpos($article["guid"], "bunicomic.com") !== false || |
|
11 | + strpos($article["guid"], "buttersafe.com") !== false || |
|
12 | + strpos($article["guid"], "extrafabulouscomics.com") !== false || |
|
13 | + strpos($article["guid"], "happyjar.com") !== false || |
|
14 | + strpos($article["guid"], "nedroid.com") !== false || |
|
15 | + strpos($article["guid"], "stonetoss.com") !== false || |
|
16 | + strpos($article["guid"], "csectioncomics.com") !== false) { |
|
17 | 17 | |
18 | 18 | // lol at people who block clients by user agent |
19 | 19 | // oh noes my ad revenue Q_Q |
@@ -7,7 +7,7 @@ |
||
7 | 7 | |
8 | 8 | public function process(&$article) { |
9 | 9 | |
10 | - if (strpos($article["link"], "explosm.net/comics") !== FALSE) { |
|
10 | + if (strpos($article["link"], "explosm.net/comics") !== false) { |
|
11 | 11 | |
12 | 12 | $doc = new DOMDocument(); |
13 | 13 |
@@ -7,7 +7,7 @@ |
||
7 | 7 | |
8 | 8 | public function process(&$article) { |
9 | 9 | |
10 | - if (strpos($article["link"], "threewordphrase.com") !== FALSE) { |
|
10 | + if (strpos($article["link"], "threewordphrase.com") !== false) { |
|
11 | 11 | |
12 | 12 | $doc = new DOMDocument(); |
13 | 13 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | } |
7 | 7 | |
8 | 8 | public function process(&$article) { |
9 | - if (strpos($article["guid"], "pvponline.com") !== FALSE) { |
|
9 | + if (strpos($article["guid"], "pvponline.com") !== false) { |
|
10 | 10 | |
11 | 11 | $res = fetch_file_contents($article["link"], false, false, false, |
12 | 12 | false, false, 0, |