Commit b0a0bbd2 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Use correct path for deployer and move custom path correction to deployment types constant

parent b05bfcab
......@@ -30,8 +30,8 @@ class LastDeployInformation
* @var array
*/
protected $deploymentTypes = [
'deployer' => '/../../.dep/releases',
'custom' => '/LAST_DEPLOY'
'deployer' => '../../../.dep/releases',
'custom' => '../LAST_DEPLOY'
];
protected $projectPath = '';
......@@ -41,7 +41,7 @@ class LastDeployInformation
if (class_exists(TYPO3\CMS\Core\Core\Environment::class)) {
$this->projectPath = TYPO3\CMS\Core\Core\Environment::getProjectPath();
} else {
$this->projectPath = PATH_site . '../';
$this->projectPath = PATH_site;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment