]> git.mxchange.org Git - friendica.git/blob - index.php
Model/Photo: use self select functions, reuse backend, fix quotes, add delete()
[friendica.git] / index.php
1 <?php
2 /**
3  * @file index.php
4  * Friendica
5  */
6
7 if (!file_exists(__DIR__ . '/vendor/autoload.php')) {
8         die('Vendor path not found. Please execute "bin/composer.phar --no-dev install" on the command line in the web root.');
9 }
10
11 require __DIR__ . '/vendor/autoload.php';
12
13 // We assume that the index.php is called by a frontend process
14 // The value is set to "true" by default in App
15 $a = new Friendica\App(__DIR__, false);
16
17 $a->runFrontend();