diff --git a/src/flextype/flextype.php b/src/flextype/flextype.php index e343d07d..c657c633 100644 --- a/src/flextype/flextype.php +++ b/src/flextype/flextype.php @@ -161,8 +161,8 @@ if (filesystem()->file($preflightFlextypePath . '/' . $cacheID . '.php')->exists // Store flextype merged data in the flextype registry. registry()->set('flextype', $flextypeData); -// Set Flextype base path -setBasePath(registry()->get('flextype.settings.url')); +// Set Flextype Aplication base path +setBasePath(registry()->get('flextype.settings.base_path')); // Add Routing Middleware app()->add(new RoutingMiddleware(app()->getRouteResolver(), app()->getRouteCollector()->getRouteParser())); diff --git a/src/flextype/settings.yaml b/src/flextype/settings.yaml index 2da8e8b1..4287c93d 100644 --- a/src/flextype/settings.yaml +++ b/src/flextype/settings.yaml @@ -16,10 +16,10 @@ charset: UTF-8 # Available locales to use: src/flextype/config/locales.yaml locale: en_US -# Application URL +# Application Base Path # -# Define custom application url -url: '/flextype' +# Define application base path +base_path: '/flextype' # Valid date format #