예제 #1
0
 static function clearcache()
 {
     wra_dir::destroy(WRA_Path . '/cache2/');
 }
예제 #2
0
 function move($newLocation)
 {
     if (wra_dir::isystems($newLocation)) {
         return false;
     }
     $perm = fileperms($this->path);
     $this->copy($newLocation, $perm);
     $this->delete();
     chmod($newLocation, $perm);
     return true;
 }