⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (1.23 KB)
Bug #16891
ยป em_bug_4846.txt
Administrator Admin, 2007-01-24 11:24
Index: typo3/mod/tools/em/class.em_index.php
===================================================================
--- typo3/mod/tools/em/class.em_index.php (revision 1891)
+++ typo3/mod/tools/em/class.em_index.php (working copy)
@@ -3832,9 +3832,9 @@
$extInfo['EM_CONF']['_md5_values_when_last_written'] = serialize($this->serverExtensionMD5Array($extKey,$extInfo));
$emConfFileContent = $this->construct_ext_emconf_file($extKey,$extInfo['EM_CONF']);
+ $absPath = $this->getExtPath($extKey,$extInfo['type']);
+ $emConfFileName = $absPath.'ext_emconf.php';
if($emConfFileContent) {
- $absPath = $this->getExtPath($extKey,$extInfo['type']);
- $emConfFileName = $absPath.'ext_emconf.php';
if(@is_file($emConfFileName)) {
if(t3lib_div::writeFile($emConfFileName,$emConfFileContent) === true) {
@@ -3876,7 +3876,7 @@
$vDat = $this->renderVersion($EM_CONF['version']);
$EM_CONF['version']=$vDat['version'];
- return '<?php
+ $code = '<?php
########################################################################
# Extension Manager/Repository config file for ext: "'.$extKey.'"
@@ -3891,6 +3891,7 @@
$EM_CONF[$_EXTKEY] = '.$this->arrayToCode($EM_CONF, 0).';
?>';
+ return preg_replace('/\r/', '', $code);
}
/**
(1-1/1)
Loading...