-
-
Save cmb69/902ff3b9c2260510b3ce3f8e662ee045 to your computer and use it in GitHub Desktop.
hi_Shutter_Reloaded deaktivieren
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index.php | 11 ++++++----- | |
1 file changed, 6 insertions(+), 5 deletions(-) | |
diff --git a/index.php b/index.php | |
index 4ef37c3..2571ad8 100644 | |
--- a/index.php | |
+++ b/index.php | |
@@ -80,12 +80,13 @@ | |
} | |
} | |
- | |
+ | |
+ function no_hi_shutter() {} | |
+ | |
if($plugin_cf['hi_shutter_reloaded']['autoinclude'] == '1'){ | |
- if(!$su) { | |
- $c[0] .= hi_shutter($plugin_cf['hi_shutter_reloaded']['mode']); | |
- } else { | |
- $c[$s] .= hi_shutter($plugin_cf['hi_shutter_reloaded']['mode']); | |
+ $tmp = max($s, 0); | |
+ if (strpos($c[$tmp], 'no_hi_shutter') === false) { | |
+ $c[$tmp] .= hi_shutter($plugin_cf['hi_shutter_reloaded']['mode']); | |
} | |
} | |
?> | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment