Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_vimeo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_vimeo
Commits
523b34cb
Commit
523b34cb
authored
5 months ago
by
Georgi
Browse files
Options
Downloads
Patches
Plain Diff
[BUGFIX] Fix caching config
parent
e4f54578
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!13
Feature frontend filters
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ext_localconf.php
+10
-18
10 additions, 18 deletions
ext_localconf.php
with
10 additions
and
18 deletions
ext_localconf.php
+
10
−
18
View file @
523b34cb
...
...
@@ -6,34 +6,26 @@ use SGalinski\SgVimeo\Hooks\LicenceCheckHook;
use
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
;
use
TYPO3\CMS\Extbase\Utility\ExtensionUtility
;
ExtensionUtility
::
configurePlugin
(
'SgVimeo'
,
'Vimeo'
,
[
VimeoController
::
class
=>
'index'
,
]
);
if
(
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'EXTENSIONS'
][
'sg_youtube'
][
'uncached'
]
??
FALSE
)
{
if
(
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'EXTENSIONS'
][
'sg_vimeo'
][
'uncached'
]
??
FALSE
)
{
// Uncached version
ExtensionUtility
::
configurePlugin
(
'Sg
Youtube
'
,
'
Youtube
'
,
'Sg
Vimeo
'
,
'
Vimeo
'
,
[
Youtube
Controller
::
class
=>
'index'
,
Vimeo
Controller
::
class
=>
'index'
,
],
[
Youtube
Controller
::
class
=>
'index'
,
]
,
Vimeo
Controller
::
class
=>
'index'
,
]
);
}
else
{
// Cached version
ExtensionUtility
::
configurePlugin
(
'Sg
Youtube
'
,
'
Youtube
'
,
'Sg
Vimeo
'
,
'
Vimeo
'
,
[
Youtube
Controller
::
class
=>
'index'
,
]
,
Vimeo
Controller
::
class
=>
'index'
,
]
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment