missing_flow3.patch

Peter Russ, 2012-02-07 12:00

Download (1.11 KB)

View differences:

Packages/Framework/TYPO3.FLOW3/Scripts/flow3.php (revision )
33 33
	$_SERVER['FLOW3_ROOTPATH'] = trim(getenv('FLOW3_ROOTPATH'), '"\' ') ?: '';
34 34

  
35 35
	$bootstrap = new \TYPO3\FLOW3\Core\Bootstrap($context);
36
	$bootstrap->run();
36
    /**
37
     * COREPATCH Telekom
38
     * by Peter Russ <peter.russ@telekom.de>
39
     * 01.02.2012: added additional environment settings
40
     *
41
     */
37 42

  
43
    $subSystem = getenv('FLOW3_SUBSYSTEM') ?: '';
44
    if (!empty($subSystem)) {
45
        $bootstrap->setSubSystem($subSystem);
46
    }
47
    $staticConfiguration = getenv('FLOW3_STATIC_CONFIGURATION') ?: '';
48
    if (!empty($staticConfiguration)) {
49
        $bootstrap->setStaticConfiguration($staticConfiguration);
50
    }
51
    /**
52
     * end COREPATCH
53
     */
54

  
55
	$bootstrap->run();
38 56
}
39 57
?>