Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sg_routes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TYPO3
sg_routes
Commits
25d65b67
Commit
25d65b67
authored
Jan 28, 2019
by
Kevin Ditscheid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUGFIX] Make getExtensionConfiguration return empty array on failure
parent
f5f27431
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
Classes/Utility/ExtensionUtility.php
Classes/Utility/ExtensionUtility.php
+1
-7
No files found.
Classes/Utility/ExtensionUtility.php
View file @
25d65b67
...
...
@@ -42,12 +42,6 @@ class ExtensionUtility {
* @return array
*/
public
static
function
getExtensionConfiguration
():
array
{
if
(
version_compare
(
VersionNumberUtility
::
getCurrentTypo3Version
(),
'9.0.0'
,
'<'
))
{
return
\
unserialize
(
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'EXT'
][
'extConf'
][
'sg_routes'
],
[
'allowed_classes'
=>
FALSE
]
);
}
else
{
return
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'EXTENSIONS'
][
'sg_routes'
];
}
return
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'EXTENSIONS'
][
'sg_routes'
]
??
[];
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment