mirror of
https://github.com/flextype/flextype.git
synced 2025-08-28 23:40:41 +02:00
@@ -13,9 +13,8 @@ namespace Flextype;
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use Flextype\Component\Registry\Registry;
|
||||
use Flextype\Component\I18n\I18n;
|
||||
use Flextype\Component\Arr\Arr;
|
||||
use Flextype\Component\I18n\I18n;
|
||||
use function Flextype\Component\I18n\__;
|
||||
|
||||
$uri = explode('/', \Slim\Http\Uri::createFromEnvironment(new \Slim\Http\Environment($_SERVER))->getPath());
|
||||
@@ -28,6 +27,7 @@ if (isset($uri) && isset($uri[0]) && $uri[0] == 'admin') {
|
||||
// Register The Auto Loader
|
||||
$loader = require_once $autoload;
|
||||
|
||||
// Include routes
|
||||
include_once 'routes/web.php';
|
||||
|
||||
// Set Default Admin locale
|
||||
|
@@ -3,7 +3,7 @@
|
||||
"type": "project",
|
||||
"description": "Admin plugin for Flextype",
|
||||
"keywords": ["admin", "plugin", "manager", "panel", "flextype", "php", "html"],
|
||||
"homepage": "https://github.com/flextype-plugins/admin",
|
||||
"homepage": "https://github.com/flextype",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
@@ -13,7 +13,7 @@
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/flextype-plugins/admin/issues"
|
||||
"issues": "https://github.com/flextype/issues"
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.1.3",
|
||||
|
Reference in New Issue
Block a user