mgd_copy_snippetdir

(Midgard 1.4.2 'Bifrost')

mgd_copy_snippetdir -- Copy a snippetdir

Description

int mgd_copy_snippetdir (int id, string path)

Minimum version: Midgard 1.4 (Bifrost)

Copies the snippetdir record with id id to a new location under snippet path path.

Returns the id of the created copy if successful. Returns FALSE on failure.


<?php
  mgd_copy_snippet(13,"somepath/somesub/somedeeper");
?>