コード例 #1
0
 static function clearcache()
 {
     wra_dir::destroy(WRA_Path . '/cache2/');
 }
コード例 #2
0
ファイル: files.php プロジェクト: sergiovelayos/liveuamap
 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;
 }