Move Composer autoload require out of boot.php
This commit is contained in:
parent
acaee626f5
commit
ed7bada71e
6 changed files with 6 additions and 10 deletions
|
@ -4,12 +4,10 @@
|
|||
* Friendica
|
||||
*/
|
||||
|
||||
use Friendica\App;
|
||||
|
||||
require_once 'boot.php';
|
||||
require dirname(__DIR__) . '/vendor/autoload.php';
|
||||
|
||||
// We assume that the index.php is called by a frontend process
|
||||
// The value is set to "true" by default in App
|
||||
$a = new App(__DIR__, false);
|
||||
$a = new Friendica\App(__DIR__, false);
|
||||
|
||||
$a->runFrontend();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue