Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
487B

  1. <?php
  2. /**
  3. * @file index.php
  4. * Friendica
  5. */
  6. use Friendica\Factory;
  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. require __DIR__ . '/vendor/autoload.php';
  11. // We assume that the index.php is called by a frontend process
  12. // The value is set to "true" by default in App
  13. $a = Factory\DependencyFactory::setUp('index', __DIR__, true);
  14. $a->runFrontend();