Changeset 3402611
- Timestamp:
- 11/25/2025 02:34:33 PM (4 months ago)
- Location:
- fastcache-by-host-it
- Files:
-
- 1 deleted
- 3 edited
- 5 copied
-
tags/1.2.32 (copied) (copied from fastcache-by-host-it/trunk)
-
tags/1.2.32/README.txt (copied) (copied from fastcache-by-host-it/trunk/README.txt) (1 diff)
-
tags/1.2.32/admin/class-fastcache-admin.php (copied) (copied from fastcache-by-host-it/trunk/admin/class-fastcache-admin.php)
-
tags/1.2.32/fastcache.php (copied) (copied from fastcache-by-host-it/trunk/fastcache.php) (2 diffs)
-
tags/1.2.32/logs/log.txt (deleted)
-
tags/1.2.32/public/workarounds.class.php (copied) (copied from fastcache-by-host-it/trunk/public/workarounds.class.php) (1 diff)
-
trunk/README.txt (modified) (1 diff)
-
trunk/fastcache.php (modified) (2 diffs)
-
trunk/public/workarounds.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fastcache-by-host-it/tags/1.2.32/README.txt
r3402581 r3402611 5 5 Tested up to: 6.8.3 6 6 Requires PHP: 8.0 7 Stable Tag: 1.2.3 17 Stable Tag: 1.2.32 8 8 License: GPL-2.0+ 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt -
fastcache-by-host-it/tags/1.2.32/fastcache.php
r3402581 r3402611 17 17 * Plugin URI: https://fastcachecdn.com/ 18 18 * Description: Abilita il tuo sito Wordpress alla prima vera CDN realizzata PER Wordpress e configurata AD-HOC per il tuo sito. Il massimo della velocità senza difficoltà di setup. 19 * Version: 1.2.3 119 * Version: 1.2.32 20 20 * Author: Host.it - Alessandro Poletto 21 21 * Author URI: https://fastcachecdn.com/ … … 137 137 * Rename this for your plugin and update it as you release new versions. 138 138 */ 139 define( 'FASTCACHEHOST_VERSION', '1.2.3 1' );139 define( 'FASTCACHEHOST_VERSION', '1.2.32' ); 140 140 141 141 /** -
fastcache-by-host-it/tags/1.2.32/public/workarounds.class.php
r3402576 r3402611 52 52 if( defined( 'WOOCOMMERCE_VERSION' ) ) { 53 53 if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) { 54 //$cookie_name = FASTCACHEHOST_WCFAST;55 //$cookie_value = '1';56 //$cookie_expiration = time() + (365 * 24 * 60 * 60);57 //if (!isset($_COOKIE[$cookie_name]) || $_COOKIE[$cookie_name]!=$cookie_value) {58 //$dominio = $_SERVER['HTTP_HOST'];59 //$dominioArr=explode(".",$dominio);60 //if(count($dominioArr)>2) {61 //$dominio = "." . $dominioArr[count($dominioArr)-2] . "." . $dominioArr[count($dominioArr)-1];62 //}63 //setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio);64 //$logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon();65 //$logger->fr("step");66 //}54 $cookie_name = FASTCACHEHOST_WCFAST; 55 $cookie_value = '1'; 56 $cookie_expiration = time() + (365 * 24 * 60 * 60); 57 if (!isset($_COOKIE[$cookie_name]) || $_COOKIE[$cookie_name]!=$cookie_value) { 58 $dominio = $_SERVER['HTTP_HOST']; 59 $dominioArr=explode(".",$dominio); 60 if(count($dominioArr)>2) { 61 $dominio = "." . $dominioArr[count($dominioArr)-2] . "." . $dominioArr[count($dominioArr)-1]; 62 } 63 setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio); 64 $logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon(); 65 $logger->fr("step"); 66 } 67 67 } 68 68 } -
fastcache-by-host-it/trunk/README.txt
r3402581 r3402611 5 5 Tested up to: 6.8.3 6 6 Requires PHP: 8.0 7 Stable Tag: 1.2.3 17 Stable Tag: 1.2.32 8 8 License: GPL-2.0+ 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt -
fastcache-by-host-it/trunk/fastcache.php
r3402581 r3402611 17 17 * Plugin URI: https://fastcachecdn.com/ 18 18 * Description: Abilita il tuo sito Wordpress alla prima vera CDN realizzata PER Wordpress e configurata AD-HOC per il tuo sito. Il massimo della velocità senza difficoltà di setup. 19 * Version: 1.2.3 119 * Version: 1.2.32 20 20 * Author: Host.it - Alessandro Poletto 21 21 * Author URI: https://fastcachecdn.com/ … … 137 137 * Rename this for your plugin and update it as you release new versions. 138 138 */ 139 define( 'FASTCACHEHOST_VERSION', '1.2.3 1' );139 define( 'FASTCACHEHOST_VERSION', '1.2.32' ); 140 140 141 141 /** -
fastcache-by-host-it/trunk/public/workarounds.class.php
r3402576 r3402611 52 52 if( defined( 'WOOCOMMERCE_VERSION' ) ) { 53 53 if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) { 54 //$cookie_name = FASTCACHEHOST_WCFAST;55 //$cookie_value = '1';56 //$cookie_expiration = time() + (365 * 24 * 60 * 60);57 //if (!isset($_COOKIE[$cookie_name]) || $_COOKIE[$cookie_name]!=$cookie_value) {58 //$dominio = $_SERVER['HTTP_HOST'];59 //$dominioArr=explode(".",$dominio);60 //if(count($dominioArr)>2) {61 //$dominio = "." . $dominioArr[count($dominioArr)-2] . "." . $dominioArr[count($dominioArr)-1];62 //}63 //setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio);64 //$logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon();65 //$logger->fr("step");66 //}54 $cookie_name = FASTCACHEHOST_WCFAST; 55 $cookie_value = '1'; 56 $cookie_expiration = time() + (365 * 24 * 60 * 60); 57 if (!isset($_COOKIE[$cookie_name]) || $_COOKIE[$cookie_name]!=$cookie_value) { 58 $dominio = $_SERVER['HTTP_HOST']; 59 $dominioArr=explode(".",$dominio); 60 if(count($dominioArr)>2) { 61 $dominio = "." . $dominioArr[count($dominioArr)-2] . "." . $dominioArr[count($dominioArr)-1]; 62 } 63 setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio); 64 $logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon(); 65 $logger->fr("step"); 66 } 67 67 } 68 68 }
Note: See TracChangeset
for help on using the changeset viewer.