Changeset 3113
- Timestamp:
- 11/16/2005 11:40:14 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/cache.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cache.php
r3110 r3113 200 200 $make_dir .= "$subdir/"; 201 201 if (!file_exists($this->cache_dir.$make_dir)) { 202 if (! mkdir($this->cache_dir.$make_dir))202 if (! @ mkdir($this->cache_dir.$make_dir)) 203 203 break; 204 204 @ chmod($this->cache_dir.$make_dir, $perms); … … 206 206 207 207 if (!file_exists($this->cache_dir.$make_dir."index.php")) { 208 touch($this->cache_dir.$make_dir."index.php");208 @ touch($this->cache_dir.$make_dir."index.php"); 209 209 } 210 210 } … … 279 279 280 280 if (!file_exists($this->cache_dir."index.php")) { 281 touch($this->cache_dir."index.php");281 @ touch($this->cache_dir."index.php"); 282 282 } 283 283 … … 314 314 fclose($fd); 315 315 if (!@ rename($temp_file, $cache_file)) { 316 if ( copy($temp_file, $cache_file)) {317 unlink($temp_file);316 if (@ copy($temp_file, $cache_file)) { 317 @ unlink($temp_file); 318 318 } 319 319 }
Note: See TracChangeset
for help on using the changeset viewer.