imported plaintext looses CRLF
$this->setAttrib('class', 'ckeditor');
try {
$appiniPath = APPLICATION_PATH . '/configs/application.ini';
$resource = fopen($appiniPath, 'rb'); // b flag means read binary
$appini = "";
while ($rs = fgets($resource)) {
$appini .= $rs . PHP_EOL;
}
$appini = htmlentities($appini) ;
$this->setValue($appiniPath);
$this->setValue($appini);
} catch (Exception $e) {
echo $e;
};
<textarea name="summary" id="summary" class="ckeditor" rows="24" cols="80">[production]
;baseHttp = webcenter
phpSettings.date.timezone = &quot;Europe/Berlin&quot;
phpSettings.display_startup_errors = 0