wp-content-copy-protector
Last commit date
css
2 weeks ago
images
2 weeks ago
js
2 weeks ago
languages
2 weeks ago
admin-core.php
2 weeks ago
notifications.php
2 weeks ago
preventer-index.php
2 weeks ago
readme.txt
2 weeks ago
right-click-protection.jpg
2 weeks ago
the_globals.php
2 weeks ago
watermark-adv.jpg
2 weeks ago
watermarking-adv-examples.png
2 weeks 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 | ?> |