Navigation

Search

copytree

Description

Copies one directory structure over to another.

Syntax

void copytree (string $source, string $destination)



Parameter $source

Expected type: String
Description: The directory structure that should be copied



Parameter $destination

Expected type: String
Description: The path to the directory that $source should be copied to


Notes

  • Requires the destination to be writable (will attempt to chmod it if it isn't).
View all versions of this function