#77790Allow "entryPointLevel" as parameter in "Application" constructor
Description
If you need your own index.php script because you want to start TYPO3 from a subdirectory (for security reasons for example) then you have to extend the class “\TYPO3\CMS\Frontend\Http\Application” to overwrite the “protected $entryPointLevel”.
class MyApplication extends \TYPO3\CMS\Frontend\Http\Application
{
protected $entryPointLevel = 1;
}
(new MyApplication($classLoader))->run();
This would be much easier if you can use the Application class from the core with just an extra parameter:
(new \TYPO3\CMS\Frontend\Http\Application($classLoader, 1))->run();