1
0
Fork 0

Replaced now undefined constant DS

Dieser Commit ist enthalten in:
DSB 2012-08-12 18:08:30 +00:00
Ursprung eeca3516d7
Commit c0be3ce898

Datei anzeigen

@ -49,7 +49,7 @@ class Msd_Update
* *
* @param array $updateConfigFile * @param array $updateConfigFile
* *
* @return void * @return Msd_Update
*/ */
public function __construct($updateConfigFile) public function __construct($updateConfigFile)
{ {
@ -64,7 +64,7 @@ class Msd_Update
* @param string $updateSection INI-Section with update information * @param string $updateSection INI-Section with update information
* @param array $fileList List of files to update. * @param array $fileList List of files to update.
* *
* @return true|array * @return bool|array
*/ */
public function doUpdate($updateSection, $fileList) public function doUpdate($updateSection, $fileList)
{ {
@ -77,7 +77,7 @@ class Msd_Update
} }
$sourceFileKey = $config['request']['sourceFileKey']; $sourceFileKey = $config['request']['sourceFileKey'];
$targetPath = $config['targetBaseDir'] . DS; $targetPath = $config['targetBaseDir'] . '/';
foreach ($fileList as $sourceFile => $targetFile) { foreach ($fileList as $sourceFile => $targetFile) {
$sourceFilename = $this->_applyUpdateParams($sourceFile); $sourceFilename = $this->_applyUpdateParams($sourceFile);
$params[$sourceFileKey] = $sourceFile; $params[$sourceFileKey] = $sourceFile;