mirror of
https://github.com/friendica/friendica
synced 2024-12-23 23:20:16 +00:00
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>
18 lines
377 B
PHP
18 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();
|
|
|