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