mirror of
https://github.com/friendica/friendica
synced 2024-10-10 07:11:57 +02:00
Roland Häder
9fa812b35d
- converted single-line if() block to multi-line and with curly braces - "imported" SPL classes to have unified code style - always initialize your variables ... :-/ - added some empty lines/spaces for better readability Signed-off-by: Roland Häder <roland@mxchange.org>
19 lines
377 B
PHP
19 lines
377 B
PHP
<?php
|
|
/**
|
|
* @file index.php
|
|
* Friendica
|
|
*/
|
|
|
|
use Friendica\Factory;
|
|
|
|
if (!file_exists(__DIR__ . '/vendor/autoload.php')) {
|
|
die('Vendor path not found. Please execute "bin/composer.phar --no-dev install" on the command line in the web root.');
|
|
}
|
|
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
$a = Factory\DependencyFactory::setUp('index', __DIR__, false);
|
|
|
|
$a->runFrontend();
|
|
|