Changeset 1178754
- Timestamp:
- 06/11/2015 06:35:41 AM (11 years ago)
- Location:
- super-static-cache/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
super-static-cache.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
super-static-cache/trunk/readme.txt
r1152688 r1178754 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.2 7 Stable tag: 3.1. 27 Stable tag: 3.1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 27 27 28 28 == Upgrade Notice == 29 = 3.1.3 = 30 * Fixed Bug document root test error 31 29 32 = 3.1.2 = 30 33 * Fixed Bug When update a page that cache not update -
super-static-cache/trunk/super-static-cache.php
r1120920 r1178754 4 4 Plugin URI: http://www.hitoy.org/super-static-cache-for-wordperss.html 5 5 Description: Super static Cache plugins for Wordpress with a simple configuration and more efficient caching Efficiency, to make your website loader faster than ever. It will cache the html content of your post directly into your website directory. 6 Version: 3.1. 26 Version: 3.1.3 7 7 Author: Hitoy 8 8 Author URI: http://www.hitoy.org/ … … 136 136 137 137 public function __construct(){ 138 $this->docroot = str_replace("//","/",str_replace("\\","/", $_SERVER["DOCUMENT_ROOT"])."//");138 $this->docroot = str_replace("//","/",str_replace("\\","/",realpath($_SERVER["DOCUMENT_ROOT"]))."//"); 139 139 $this->wppath = str_replace("\\","/",ABSPATH); 140 140 $this->cachemod = get_option("super_static_cache_mode");
Note: See TracChangeset
for help on using the changeset viewer.