[BUGFIX] Bootstrap_BaseSetup::getPathThisScript is not static
authorGeorg Ringer <mail@ringerge.org>
Wed, 27 Jun 2012 12:10:55 +0000 (14:10 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 27 Jun 2012 13:03:25 +0000 (15:03 +0200)
The method Typo3_Bootstrap_BaseSetup::getPathThisScript()
should be static but isn't

Change-Id: I96ce32ba5980f5a3612685bfe51c028eb23e2699
Resolves: #38428
Releases: 6.0
Reviewed-on: http://review.typo3.org/12394
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/classes/Bootstrap/BaseSetup.php

index 8af97a0..a0fef87 100644 (file)
@@ -352,7 +352,7 @@ class Typo3_Bootstrap_BaseSetup {
         *
         * @return string Absolute path to entry script
         */
         *
         * @return string Absolute path to entry script
         */
-       protected function getPathThisScript() {
+       protected static function getPathThisScript() {
                if (defined('TYPO3_cliMode') && TYPO3_cliMode === TRUE) {
                        return self::getPathThisScriptCli();
                } else {
                if (defined('TYPO3_cliMode') && TYPO3_cliMode === TRUE) {
                        return self::getPathThisScriptCli();
                } else {