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 linkofflinein the instance-specificexportdirectory. -
onlineTree: The path of the online directory hierarchy resulting from the symbolic linkonlinein the instance-specificexportdirectory.
Return value if successful: none