1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-17 18:36:39 +02:00

feat(form-plugin): code refactor and fixes #360

This commit is contained in:
Awilum
2020-02-10 14:23:27 +03:00
parent 35022da0b1
commit 723010f3b0
2 changed files with 2 additions and 19 deletions

View File

@@ -16,7 +16,7 @@ use function is_file;
/**
* Ensure vendor libraries exist
*/
! is_file($site_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i>');
! is_file($form_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i>');
/**
* Register The Auto Loader
@@ -27,12 +27,7 @@ use function is_file;
* loading any of our classes later on. It feels nice to relax.
* Register The Auto Loader
*/
$site_loader = require_once $site_autoload;
/**
* Include web routes
*/
include_once 'routes/web.php';
$form_loader = require_once $form_autoload;
/**
* Include dependencies

View File

@@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
/**
* @link http://digital.flextype.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flextype;