kirby/vendor/getkirby/toolkit/lib/folder.php
/**
   * Moves the directory to a new location
   * 
   * @param string $to
   * @return boolean
   */
Moves the directory to a new location

@param string $to
@return boolean
Moves the directory to a new location @param string $to @return boolean
public function move($to) {
    if(!dir::move($this->root, $to)) {
      return false;
    } else {
      $this->root = true;
      return true;
    }
  }
public function move ( $ to ) { if ( ! dir :: move ( $ this -> root , $ to ) ) { return false ; } else { $ this -> root = true ; return true ; } }
Moves the directory to a new location
Moves the directory to a new location