<?php /* Version: 150129.3 Text Domain: quick-cache Plugin Name: Quick Cache Network: true Author: s2Member® / WebSharks, Inc. Author URI: http://www.s2member.com Plugin URI: http://www.websharks-inc.com/product/quick-cache/ Description: WordPress advanced cache plugin; speed without compromise! Speed up your site (BIG time!) — Quick Cache provides reliable page caching for WordPress. Easy-to-use (very simple installation). */ if (!defined('WPINC')) { // MUST have WordPress. exit('Do NOT access this file directly: ' . basename(__FILE__)); } if (require dirname(__FILE__) . '/includes/wp-php53.php') { // TRUE if running PHP v5.3+. require_once dirname(__FILE__) . '/quick-cache.inc.php'; } else { wp_php53_notice('Quick Cache'); }
/** * @param string $notice Optional. Custom notice HTML; instead of default markup. * @param string $notice_cap Optional. Capability to view notice. Defaults to `activate_plugins`. * @param string $notice_hook Optional. Action hook. Defaults to `all_admin_notices`. */ function wp_php53_custom_notice($notice = '', $notice_cap = '', $notice_hook = '') { return wp_php53_notice('', '', $notice_cap, $notice_hook, $notice); }
<?php /* * Plugin Name: Loglink * Author: Code by Jinx * Author URI: http://byjinx.com/ * Description: Generate time-sensitive, signed, and secure auto-login links for your Users. * Version: 150614 */ if (require dirname(__FILE__) . '/includes/wp-php53.php') { require dirname(__FILE__) . '/includes/loglink.inc.php'; } else { wp_php53_notice('Loglink'); }
<?php /** * Plugin Name: Super Redirect * Author: Code by Jinx * Author URI: http://byjinx.com/ * Description: Redirect your Users based on IP/GeoIP Region, User Agent, Referring Host, and URI matches. * Version: 150919 * License: GPLv3 */ if (!defined('WPINC')) { exit('Do NOT access this file directly: ' . basename(__FILE__)); } if (require dirname(__FILE__) . '/includes/wp-php53.php') { require_once dirname(__FILE__) . '/includes/super-redirect.php'; } else { wp_php53_notice('Super Redirect'); }
if (!defined('GEODIR_GD_BOOSTER_TEXTDOMAIN')) { define('GEODIR_GD_BOOSTER_TEXTDOMAIN', 'geodir-gd-booster'); } if (!defined('GD_BOOSTER_CACHE_DIR')) { define('GD_BOOSTER_CACHE_DIR', str_replace('\\', '/', dirname(__FILE__)) . '/../../booster_cache'); } if (require dirname(__FILE__) . '/includes/wp-php53.php') { // TRUE if running PHP v5.3+. require_once dirname(__FILE__) . '/geodir-gd-booster.inc.php'; if (defined('GEODIR_GD_BOOSTER_ENABLE') && GEODIR_GD_BOOSTER_ENABLE) { /* gd-booster */ require_once dirname(__FILE__) . '/booster_inc.php'; add_action('wp_footer', 'gd_booster_wp', 100001); } } else { wp_php53_notice('GD Booster'); } if (is_admin()) { require_once 'gd_update.php'; } function gd_booster_htaccess() { $wp_htacessfile = get_home_path() . '.htaccess'; $booster_htacessfile = rtrim(str_replace('\\', '/', realpath(dirname(__FILE__))), '/') . '/htaccess/.htaccess'; if (file_exists($booster_htacessfile)) { if (file_exists($wp_htacessfile) && is_writable($wp_htacessfile)) { $wp_htacessfile_contents = file_get_contents($wp_htacessfile); $wp_htacessfile_contents = preg_replace('/#GEODIR-GD-Booster Start#################################################.*#GEODIR-GD-Booster End#################################################/ims', '', $wp_htacessfile_contents); $wp_htacessfile_contents = $wp_htacessfile_contents . file_get_contents($booster_htacessfile); } else { $wp_htacessfile_contents = file_get_contents($booster_htacessfile);