Last active
August 29, 2015 14:25
-
-
Save DavidSporer/2e6298bbfb08522ca3e8 to your computer and use it in GitHub Desktop.
Create Session symlink to shared Session folder.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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