[TASK] remove obsolete check for media/scripts/
authorMarkus Klein <klein.t3@mfc-linz.at>
Sun, 5 Feb 2012 13:22:52 +0000 (14:22 +0100)
committerGeorg Ringer <mail@ringerge.org>
Wed, 8 Feb 2012 06:31:39 +0000 (07:31 +0100)
tslib_fe::checkFileInclude() still contains a check for the
obsolete directory media/scripts/.

Change-Id: I2b59bd53ac0339a2cdf238cc1bbdb5f0b7c28302
Resolves: #25985
Releases: 4.7
Reviewed-on: http://review.typo3.org/8850
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/cms/tslib/class.tslib_fe.php

index c7cc1b8..528ccd1 100644 (file)
@@ -4149,7 +4149,6 @@ if (version == "n3") {
         */
        function checkFileInclude($incFile)     {
                return !$this->TYPO3_CONF_VARS['FE']['noPHPscriptInclude']
-                       || substr($incFile,0,14)=='media/scripts/'
                        || substr($incFile,0,4+strlen(TYPO3_mainDir))==TYPO3_mainDir.'ext/'
                        || substr($incFile,0,7+strlen(TYPO3_mainDir))==TYPO3_mainDir.'sysext/'
                        || substr($incFile,0,14)=='typo3conf/ext/';