Fixed bug #14982: Make alt_doc.php unit testable (Thanks to Ingo Schmitt)
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 16 Jul 2010 20:32:15 +0000 (20:32 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 16 Jul 2010 20:32:15 +0000 (20:32 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8201 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/alt_doc.php

index c286848..9fc7ae8 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,7 @@
 
 2010-07-16  Christian Kuhn  <lolli@schwarzbu.ch>
 
+       * Fixed bug #14982: Make alt_doc.php unit testable (Thanks to Ingo Schmitt)
        * Fixed bug #15142: [Unit tests] Remove unnecessary require_once() calls
 
 2010-07-15  Bernhard Kraft  <kraftb@think-open.at>
index a52be2c..994e077 100644 (file)
@@ -78,9 +78,9 @@
  */
 
 
-require('init.php');
-require('template.php');
-$LANG->includeLLFile('EXT:lang/locallang_alt_doc.xml');
+require_once('init.php');
+require_once('template.php');
+$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_alt_doc.xml');
 
 t3lib_BEfunc::lockRecords();