Commit 3f267a2d authored by Helmut Hummel's avatar Helmut Hummel Committed by Andreas Fernandez
Browse files

[TASK] Move global functions file out of Classes folder

Releases: master
Resolves: #68159
Change-Id: Ic69f454cdb17c16d82aea5d2495b9ae795d600f6
Reviewed-on: http://review.typo3.org/41270


Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
parent 56c524c2
......@@ -173,6 +173,9 @@
},
"classmap": [
"typo3/sysext/core/Resources/PHP/"
],
"files": [
"typo3/sysext/core/Resources/PHP/GlobalDebugFunctions.php"
]
},
"autoload-dev": {
......
......@@ -369,7 +369,6 @@ class Bootstrap {
->setDefaultTimezone()
->initializeL10nLocales()
->convertPageNotFoundHandlingToBoolean()
->registerGlobalDebugFunctions()
->setMemoryLimit()
->defineTypo3RequestTypes();
if ($allowCaching) {
......@@ -638,19 +637,6 @@ class Bootstrap {
return $this;
}
/**
* Register xdebug(), debug(), debugBegin() and debugEnd() as global functions
*
* Note: Yes, this is possible in php! xdebug() is then a global function, even
* if registerGlobalDebugFunctions() is encapsulated in class scope.
*
* @return Bootstrap
*/
protected function registerGlobalDebugFunctions() {
require_once('GlobalDebugFunctions.php');
return $this;
}
/**
* Configure and set up exception and error handling
*
......
......@@ -25,7 +25,8 @@
"psr-4": {
"TYPO3\\CMS\\Core\\": "Classes/"
},
"classmap": ["Resources/PHP/"]
"classmap": ["Resources/PHP/"],
"files": ["typo3/sysext/core/Resources/PHP/GlobalDebugFunctions.php"]
},
"autoload-dev": {
"psr-4": {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment