1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-28 23:40:41 +02:00

Flextype Box Plugin: Admin #125 #117

- Refactoring
This commit is contained in:
Awilum
2019-06-07 01:31:18 +03:00
parent a7503beafb
commit 10eeb245a0
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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",