[TASK] Remove hardcoded check on typo3/sysext/ 37/54237/2
authorBenni Mack <benni@typo3.org>
Thu, 28 Sep 2017 14:53:28 +0000 (16:53 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 29 Sep 2017 16:03:58 +0000 (18:03 +0200)
When running TYPO3 with custom components (subtree), the typo3/sysext/
directory is not always necessary, and the hardcoded check is obsolete.

Resolves: #82622
Releases: master, 8.7
Change-Id: I3e939c80fff30d82dd4eb624c2f4bc5db1696809
Reviewed-on: https://review.typo3.org/54237
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php

index cabdc25..137a0fe 100644 (file)
@@ -198,13 +198,6 @@ class SystemEnvironmentBuilder
         if (!is_file(PATH_thisScript)) {
             static::exitWithMessage('Unable to determine path to entry script.');
         }
-        if (!is_dir(PATH_typo3 . 'sysext')) {
-            static::exitWithMessage('Calculated absolute path to typo3/sysext directory does not exist.' . LF . LF
-                . 'Something in the main file, folder and link structure is wrong and must be fixed! A typical document root contains a couple of symbolic links:' . LF
-                . '* A symlink "typo3_src" pointing to the TYPO3 CMS core.' . LF
-                . '* A symlink "typo3" - the backend entry point - pointing to "typo3_src/typo3"' . LF
-                . '* A symlink "index.php" - the frontend entry point - points to "typo3_src/index.php"');
-        }
     }
 
     /**