[BUGFIX] Followup Bootstrap for Unit Tests 16/24716/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 13 Oct 2013 23:35:47 +0000 (01:35 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 13 Oct 2013 23:37:59 +0000 (01:37 +0200)
There was a typo in the environment variable
check which prevented it from being evaluated.

This change fixes that.

Releases: 6.2
Change-Id: I05798ab00805e7c035dcf4635cf32c0e207822d3
Reviewed-on: https://review.typo3.org/24716
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/core/Build/UnitTestsBootstrap.php

index e6d2436..dc5653b 100644 (file)
@@ -48,7 +48,7 @@ namespace TYPO3\CMS\Core\Build;
 /**
  * Find out web path by environment variable or current working directory
  */
-if (getenv('ENV_TYPO3_SITE_PATH')) {
+if (getenv('TYPO3_PATH_WEB')) {
        $webRoot = realpath(getenv('TYPO3_PATH_WEB')) . '/';
 } else {
        $webRoot = getcwd() . '/';