protected function move($src, $dest, &$errors = 0, &$success = 0)
    {
        $this->copy($src, $dest, $errors, $success);

        if (empty($errors)) {
            gplcart_file_delete_recursive($src, $errors);
        }

        return empty($errors);
    }
protected function move($src, $dest, &$errors = 0, &$success = 0)
    {
        $this->copy($src, $dest, $errors, $success);

        if (empty($errors)) {
            gplcart_file_delete_recursive($src, $errors);
        }

        return empty($errors);
    }
protected function move ( $ src , $ dest , & $ errors = 0 , & $ success = 0 ) { $ this -> copy ( $ src , $ dest , $ errors , $ success ) ; if ( empty ( $ errors ) ) { gplcart_file_delete_recursive ( $ src , $ errors ) ; } return empty ( $ errors ) ; }
Moves a file to a new destination
@param string $src
@param string $dest
@param int $errors
@param int $success
@return bool
Moves a file to a new destination