Available for: Template Engine
Task: Custom procedure which swaps the export and live directory hierarchies on the live server via a secure connection, for example. The callback function might take additional actions, if required.
Additional information: see Import and Export.
Syntax:
exportSwitchCallback offlineTree onlineTree
Function parameters:
offlineTree
: The path of the export directory
hierarchy resulting from the symbolic link offline
in the
instance-specific export
directory.onlineTree
: The path of the online directory
hierarchy resulting from the symbolic link online
in the
instance-specific export
directory.Return value if successful: none