Make WordPress Core

Changeset 3113


Ignore:
Timestamp:
11/16/2005 11:40:14 PM (21 years ago)
Author:
ryan
Message:

Silence file ops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/cache.php

    r3110 r3113  
    200200                        $make_dir .= "$subdir/";
    201201                        if (!file_exists($this->cache_dir.$make_dir)) {
    202                                 if (!mkdir($this->cache_dir.$make_dir))
     202                                if (! @ mkdir($this->cache_dir.$make_dir))
    203203                                        break;
    204204                                @ chmod($this->cache_dir.$make_dir, $perms);
     
    206206
    207207                        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");
    209209                        }
    210210                }
     
    279279
    280280                if (!file_exists($this->cache_dir."index.php")) {
    281                         touch($this->cache_dir."index.php");
     281                        @ touch($this->cache_dir."index.php");
    282282                }
    283283
     
    314314                                fclose($fd);
    315315                                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);
    318318                                        }
    319319                                }
Note: See TracChangeset for help on using the changeset viewer.