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