Skip to content

Instantly share code, notes, and snippets.

@DavidSporer
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidSporer/2e6298bbfb08522ca3e8 to your computer and use it in GitHub Desktop.
Save DavidSporer/2e6298bbfb08522ca3e8 to your computer and use it in GitHub Desktop.
Create Session symlink to shared Session folder.
// create Session folder and symlink it to the shared folder.
$deployment->onInitialize(function () use ($workflow, $application) {
$workflow->setTaskOptions('typo3.surf:generic:createDirectories', array('directories' => array('shared/Data/Session')));
$workflow->setTaskOptions('typo3.surf:generic:createSymlinks', array(
'symlinks' => array(
'Data' => '../../../shared/Data/Session/'
)
));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment