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