Merge pull request #6703 from tobiasd/2019.03-CHANGELOG
[friendica.git/.git] / index.php
1 <?php
2 /**
3  * @file index.php
4  * Friendica
5  */
6
7 use Friendica\Factory;
8
9 if (!file_exists(__DIR__ . '/vendor/autoload.php')) {
10         die('Vendor path not found. Please execute "bin/composer.phar --no-dev install" on the command line in the web root.');
11 }
12
13 require __DIR__ . '/vendor/autoload.php';
14
15 $a = Factory\DependencyFactory::setUp('index', __DIR__, false);
16
17 $a->runFrontend();
18