|
@@ 334-338 (lines=5) @@
|
| 331 |
|
protected function collectDeploySettings($deploySettings, $prefix, $resolverArray) |
| 332 |
|
{ |
| 333 |
|
$resolverArray[$prefix . "_server"] = $deploySettings["server"]; |
| 334 |
|
if (isset($deploySettings["port"])) { |
| 335 |
|
$resolverArray[$prefix . "_port"] = $deploySettings["port"]; |
| 336 |
|
} else { |
| 337 |
|
$resolverArray[$prefix . "_port"] = 22; |
| 338 |
|
} |
| 339 |
|
$resolverArray[$prefix . "_project"] = $deploySettings["project"]; |
| 340 |
|
if (isset($deploySettings["app_path"])) { |
| 341 |
|
$resolverArray[$prefix . "_app_path"] = $deploySettings["app_path"]; |
|
@@ 340-344 (lines=5) @@
|
| 337 |
|
$resolverArray[$prefix . "_port"] = 22; |
| 338 |
|
} |
| 339 |
|
$resolverArray[$prefix . "_project"] = $deploySettings["project"]; |
| 340 |
|
if (isset($deploySettings["app_path"])) { |
| 341 |
|
$resolverArray[$prefix . "_app_path"] = $deploySettings["app_path"]; |
| 342 |
|
} else { |
| 343 |
|
$resolverArray[$prefix . "_app_path"] = "/ROOT"; |
| 344 |
|
} |
| 345 |
|
if (isset($deploySettings["symfony_env"])) { |
| 346 |
|
$resolverArray[$prefix . "_symfony_env"] = $deploySettings["symfony_env"]; |
| 347 |
|
} else { |
|
@@ 345-349 (lines=5) @@
|
| 342 |
|
} else { |
| 343 |
|
$resolverArray[$prefix . "_app_path"] = "/ROOT"; |
| 344 |
|
} |
| 345 |
|
if (isset($deploySettings["symfony_env"])) { |
| 346 |
|
$resolverArray[$prefix . "_symfony_env"] = $deploySettings["symfony_env"]; |
| 347 |
|
} else { |
| 348 |
|
$resolverArray[$prefix . "_symfony_env"] = "prod"; |
| 349 |
|
} |
| 350 |
|
$resolverArray[$prefix . "_timestamp"] = time(); |
| 351 |
|
return $resolverArray; |
| 352 |
|
} |