Implemented an override of allowed language per workspace. This is an expert feature...
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_xml.php
old mode 100755 (executable)
new mode 100644 (file)
index 2ab2317..c62c35e
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2004 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2009 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -279,7 +279,7 @@ class t3lib_xml {
         * @return      string          Processed input value
         */
        function substNewline($string)  {
-               return ereg_replace(chr(10),'<newline/>',$string);
+               return str_replace(chr(10),'<newline/>',$string);
        }
 
        /**