bugfix, version v0.2.1

git-svn-id: http://plugins.svn.wordpress.org/wp-ffpc/trunk@508048 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
cadeyrn 2012-02-21 05:49:57 +00:00
parent c8302a66da
commit 47f1cf2f8f
3 changed files with 13 additions and 3 deletions

View file

@ -3,7 +3,7 @@ Contributors: cadeyrn
Tags: cache, APC, memcached, full page cache Tags: cache, APC, memcached, full page cache
Requires at least: 3.0 Requires at least: 3.0
Tested up to: 3.3.1 Tested up to: 3.3.1
Stable tag: 0.2 Stable tag: 0.2.1
Fast Full Page Cache, backend can be memcached or APC Fast Full Page Cache, backend can be memcached or APC
@ -46,6 +46,12 @@ Some parts were based on [Hyper Cache](http://wordpress.org/extend/plugins/hyper
== Changelog == == Changelog ==
= 0.2.1 =
2012.02.21
* bugfix, duplicated inclusion could emerge, fix added, thanks for Géza Kuti for reporting!
= 0.2 = = 0.2 =
2012.02.19 2012.02.19

View file

@ -9,6 +9,10 @@
global $wp_ffpc_backend; global $wp_ffpc_backend;
global $wp_nmc_redirect; global $wp_nmc_redirect;
/* safety rules if file has been already included */
if ( function_exists('wp_ffpc_init') || function_exists('wp_ffpc_clear') || function_exists('wp_ffpc_set') || function_exists('wp_ffpc_get') )
return false;
/** /**
* init and backend alive check function * init and backend alive check function
* *

View file

@ -1,7 +1,7 @@
<?php <?php
/* /*
Plugin Name: WP-FFPC Plugin Name: WP-FFPC
Version: 0.2 Version: 0.2.1
Plugin URI: http://petermolnar.eu/wordpress/wp-ffpc Plugin URI: http://petermolnar.eu/wordpress/wp-ffpc
Description: Fast Full Page Cache, backend can be memcached or APC Description: Fast Full Page Cache, backend can be memcached or APC
Author: Peter Molnar Author: Peter Molnar
@ -44,7 +44,7 @@ define ( 'WP_FFPC_ACACHE_INC_FILE' , WP_FFPC_DIR. '/advanced-cache.php' );
define ( 'WP_FFPC_ACACHE_COMMON_FILE' , WP_FFPC_DIR. '/wp-ffpc-common.php' ); define ( 'WP_FFPC_ACACHE_COMMON_FILE' , WP_FFPC_DIR. '/wp-ffpc-common.php' );
define ( 'WP_FFPC_CONFIG_VAR' , '$wp_ffpc_config' ); define ( 'WP_FFPC_CONFIG_VAR' , '$wp_ffpc_config' );
include (WP_FFPC_DIR .'/wp-ffpc-common.php'); include_once (WP_FFPC_DIR .'/wp-ffpc-common.php');
if (!class_exists('WPFFPC')) { if (!class_exists('WPFFPC')) {