protected function setupSections()
	{
		if(version_compare(VERSION, '3.3', '<')) {
			if(!isset($GLOBALS['TL_CONFIG']['customSections']) || $GLOBALS['TL_CONFIG']['customSections'] == '') {
				$GLOBALS['TL_CONFIG']['customSections'] = 'bootstrap';
			}
			elseif(strpos($GLOBALS['TL_CONFIG']['customSections'], 'bootstrap') === false) {
				$GLOBALS['TL_CONFIG']['customSections'] .= ',bootstrap';
			}

			$config = \Config::getInstance();
			$config->add('$GLOBALS[\'TL_CONFIG\'][\'customSections\']', $GLOBALS['TL_CONFIG']['customSections']);
			$config->save();

		}
	}
protected function setupSections()
	{
		if(version_compare(VERSION, '3.3', '<')) {
			if(!isset($GLOBALS['TL_CONFIG']['customSections']) || $GLOBALS['TL_CONFIG']['customSections'] == '') {
				$GLOBALS['TL_CONFIG']['customSections'] = 'bootstrap';
			}
			elseif(strpos($GLOBALS['TL_CONFIG']['customSections'], 'bootstrap') === false) {
				$GLOBALS['TL_CONFIG']['customSections'] .= ',bootstrap';
			}

			$config = \Config::getInstance();
			$config->add('$GLOBALS[\'TL_CONFIG\'][\'customSections\']', $GLOBALS['TL_CONFIG']['customSections']);
			$config->save();

		}
	}
protected function setupSections ( ) { if ( version_compare ( VERSION , '3.3' , '<' ) ) { if ( ! isset ( $ GLOBALS [ 'TL_CONFIG' ] [ 'customSections' ] ) || $ GLOBALS [ 'TL_CONFIG' ] [ 'customSections' ] == '' ) { $ GLOBALS [ 'TL_CONFIG' ] [ 'customSections' ] = 'bootstrap' ; } elseif ( strpos ( $ GLOBALS [ 'TL_CONFIG' ] [ 'customSections' ] , 'bootstrap' ) === false ) { $ GLOBALS [ 'TL_CONFIG' ] [ 'customSections' ] .= ',bootstrap' ; } $ config = \ Config :: getInstance ( ) ; $ config -> add ( '$GLOBALS[\'TL_CONFIG\'][\'customSections\']' , $ GLOBALS [ 'TL_CONFIG' ] [ 'customSections' ] ) ; $ config -> save ( ) ; } }
setup required sections
setup required sections