wp-content-copy-protector
Last commit date
css
21 hours ago
images
21 hours ago
js
21 hours ago
languages
21 hours ago
admin-core.php
21 hours ago
deactivation-survey.php
21 hours ago
notifications.php
21 hours ago
preventer-index.php
21 hours ago
readme.txt
21 hours ago
right-click-protection.jpg
21 hours ago
the_globals.php
21 hours ago
watermark-adv.jpg
21 hours ago
watermarking-adv-examples.png
21 hours 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 | $wccp_free_pluginsurl = plugins_url( '', __FILE__ ); |
| 5 | if(is_ssl()) |
| 6 | { |
| 7 | $wccp_free_pluginsurl = str_replace("https:", "http:", $wccp_free_pluginsurl);// just to make sure that there is no https there |
| 8 | $wccp_free_pluginsurl = str_replace("http:", "https:", $wccp_free_pluginsurl); |
| 9 | } |
| 10 | ?> |