wp-content-copy-protector
Last commit date
css
1 week ago
images
1 week ago
js
1 week ago
languages
1 week ago
admin-core.php
1 week ago
deactivation-survey.php
1 week ago
notifications.php
1 week ago
preventer-index.php
1 week ago
readme.txt
1 week ago
right-click-protection.jpg
1 week ago
the_globals.php
1 week ago
watermark-adv.jpg
1 week ago
watermarking-adv-examples.png
1 week ago
the_globals.php
10 lines
| 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
| 3 | //Get The Plugins URL as http://www.yrsite.com/dir/subdir |
| 4 | $pluginsurl = plugins_url( '', __FILE__ ); |
| 5 | if(is_ssl()) |
| 6 | { |
| 7 | $pluginsurl = str_replace("https:", "http:", $pluginsurl);// just to make sure that there is no https there |
| 8 | $pluginsurl = str_replace("http:", "https:", $pluginsurl); |
| 9 | } |
| 10 | ?> |