Changeset 4495 for trunk/wp-includes/cache.php
- Timestamp:
- 11/19/2006 07:56:05 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/cache.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cache.php
r4486 r4495 66 66 67 67 function acquire_lock() { 68 // Acquire a write lock. 68 // Acquire a write lock. 69 69 $this->mutex = @fopen($this->cache_dir.$this->flock_filename, 'w'); 70 70 if ( false == $this->mutex) … … 238 238 # Get indexed directory from stack 239 239 $dir = $stack[$index]; 240 240 241 241 $dh = @ opendir($dir); 242 242 if (!$dh) 243 243 return false; 244 244 245 245 while (($file = @ readdir($dh)) !== false) { 246 246 if ($file == '.' or $file == '..')
Note: See TracChangeset
for help on using the changeset viewer.