mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Add autoloader.php and services.php
This commit is contained in:
5
plugins/autoload.php
Normal file
5
plugins/autoload.php
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return call_user_func(function () {
|
||||||
|
return require __DIR__ . '/../vendor/autoload.php';
|
||||||
|
});
|
7
plugins/services.php
Normal file
7
plugins/services.php
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Alchemy\Phrasea\Application;
|
||||||
|
|
||||||
|
return call_user_func(function (Application $app) {
|
||||||
|
return $app;
|
||||||
|
}, $app);
|
Reference in New Issue
Block a user