[BUGFIX] Use FE category collection for pages
[Packages/TYPO3.CMS.git] / index.php
1 <?php
2 /**
3 * This file is part of the TYPO3 CMS project.
4 *
5 * It is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License, either version 2
7 * of the License, or any later version.
8 *
9 * For the full copyright and license information, please read the
10 * LICENSE.txt file that was distributed with this source code.
11 *
12 * The TYPO3 project - inspiring people to share!
13 */
14
15 /**
16 * This is the MAIN DOCUMENT of the TypoScript driven standard frontend.
17 * Basically this is the "index.php" script which all requests for TYPO3
18 * delivered pages goes to in the frontend (the website)
19 *
20 * @author René Fritz <r.fritz@colorcube.de>
21 */
22
23 require __DIR__ . '/typo3/sysext/core/Classes/Core/Bootstrap.php';
24 \TYPO3\CMS\Core\Core\Bootstrap::getInstance()
25 ->baseSetup('')
26 ->redirectToInstallerIfEssentialConfigurationDoesNotExist();
27
28 require(PATH_tslib . 'index_ts.php');