Solar_Symlink::make()

static public string Solar_Symlink::make ( string $src , string $tgt , string $dir = NULL )

Makes a symbolic link to a file or directory.

Parameters

  • (string) $src: The source path of the real file or directory.

  • (string) $tgt: The target path for where to put the symlink.

  • (string) $dir: Change to this directory before creating the symlink, typically the target directory; this helps when making relative symlinks.

Returns

  • (string) The last line from the » exec() call to create the symlink.

Description

Makes a symbolic link to a file or directory.



Local