Completed
Push — master ( 0e5eef...b70e49 )
by Jakub
03:42
created
ext_localconf.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 //	mod.moox_MooxCoreDashboard.sideBarEnable = 0
10 10
 // ');
11 11
 
12
-if (FALSE === isset($GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'])) {
12
+if (FALSE===isset($GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'])) {
13 13
 	\TYPO3\CMS\Core\Utility\GeneralUtility::sysLog('MooxCore requires an additional configuration file in typo3conf/AdditionalConfiguration.php - '
14 14
 		. 'you can have MooxCore generate this file for you from the extension manager by running the MooxCore update script. A dummy '
15 15
 		. 'has been created, but you will only be able to render content (not plugins!) until the file is created',
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 );
38 38
 
39 39
 $types = count($GLOBALS['TYPO3_CONF_VARS']['DCNGmbH.MooxCore']['types']);
40
-for ($i = 0; $i < $types; $i++) {
40
+for ($i = 0; $i<$types; $i++) {
41 41
 	\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
42 42
 		'DCNGmbH.MooxCore',
43 43
 		ucfirst($GLOBALS['TYPO3_CONF_VARS']['DCNGmbH.MooxCore']['types'][$i]),
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 // Include new content elements to modWizards
50 50
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:moox_core/Configuration/PageTS/modWizards.ts">');
51 51
 // If the form extension is loaded, then include the mailform element to modWizards
52
-if (TRUE === \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('form')) {
52
+if (TRUE===\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('form')) {
53 53
 	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:moox_core/Configuration/PageTS/modWizardsMailform.ts">');
54 54
 }
55 55
 
@@ -63,18 +63,18 @@  discard block
 block discarded – undo
63 63
 $settings = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
64 64
 // RTE Configuration
65 65
 if (!$settings['disablePageTsRTE']) {
66
-	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/RTE.txt">');
66
+	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:'.$_EXTKEY.'/Configuration/PageTS/RTE.txt">');
67 67
 }
68 68
 
69 69
 /***************
70 70
  * Use RealUrl Config from MOOX Core
71 71
  */
72 72
 $settings = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
73
-if($settings['UseRealUrlConfig'] == 1){
74
-    @include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY,'Configuration/RealURL/Default.php'));    
73
+if ($settings['UseRealUrlConfig']==1) {
74
+    @include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY, 'Configuration/RealURL/Default.php'));    
75 75
 }
76 76
 
77
-if (TYPO3_MODE === 'BE') {
77
+if (TYPO3_MODE==='BE') {
78 78
 	// enable SignalSlot
79 79
 	/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
80 80
     $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
@@ -111,8 +111,8 @@  discard block
 block discarded – undo
111 111
 /***************
112 112
  * Register hook for processing less files
113 113
  */
114
-if (TYPO3_MODE === 'FE') {
115
-	require_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('moox_core') . '/Contrib/less.php/Less.php');
114
+if (TYPO3_MODE==='FE') {
115
+	require_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('moox_core').'/Contrib/less.php/Less.php');
116 116
 
117 117
 		$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess'][] = 'DCNGmbH\\MooxCore\\Hooks\\PageRendererRender\\PreProcessHook->execute';
118 118
 	
Please login to merge, or discard this patch.