addtional_constants.patch

Peter Russ, 2014-05-06 22:14

Download (810 Bytes)

View differences:

Classes/TYPO3/Flow/Core/Bootstrap.php (revision )
504 504
		define('FLOW_PATH_PACKAGES', FLOW_PATH_ROOT . 'Packages/');
505 505

  
506 506
		define('FLOW_VERSION_BRANCH', 'dev-master');
507

  
508
		$additionalConstantList = getenv('FLOW_ADDITIONAL_CONSTANTS');
509
		if ($additionalConstantList !== false) {
510
			foreach (explode(',', $additionalConstantList) as $additionalConstant) {
511
				if (!defined($additionalConstant)) {
512
					define ($additionalConstant, getenv($additionalConstant));
513
				}
514
			}
515
		}
507 516
	}
508 517

  
509 518
	/**