PHP 8.2.30
Preview: routing.yml Size: 3.42 KB
//proc/self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/var/softaculous/bolt/routing.yml

# This file defines user-definable routes for the frontend of your Bolt website.
# Check below for examples, or read the documentation at
# https://docs.bolt.cm/configuration/routing

# ------------------------------------------------------------------------------
# Place your own routes here, that have a HIGHER priority than the default routes.



# ------------------------------------------------------------------------------
# These are the routes defining the default behaviour of Bolt's frontend.
# Changing these might give unexpected results or even break your website. If
# possible, only add NEW routes above or below these.

homepage:
    path: /
    defaults:
        _controller: controller.frontend:homepage

search:
    path: /search
    defaults:
        _controller: controller.frontend:search

preview:
    path: /preview/{contenttypeslug}
    defaults:
        _controller: controller.frontend:preview
    requirements:
        contenttypeslug: controller.requirement:anyContentType
    methods: [POST]

contentlink:
    path: /{contenttypeslug}/{slug}
    defaults:
        _controller: controller.frontend:record
    requirements:
        contenttypeslug: controller.requirement:anyContentType

taxonomylink:
    path: /{taxonomytype}/{slug}
    defaults:
        _controller: controller.frontend:taxonomy
    requirements:
        taxonomytype: controller.requirement:anyTaxonomyType

contentlisting:
    path: /{contenttypeslug}
    defaults:
        _controller: controller.frontend:listing
    requirements:
        contenttypeslug: controller.requirement:pluralContentTypes

# ------------------------------------------------------------------------------
# Place your own routes here, that have a LOWER priority than the default routes.



# ------------------------------------------------------------------------------
# Routes examples:

# Example to route old '.html' pages to pages genereated by bolt.

# oldpages:
#     path: /{slug}.html
#     defaults:
#         _controller: controller.frontend:record
#         contenttypeslug: page
#     requirements:
#         slug: '[a-z0-9-_]+'


# Example route with a host requirement

# example:
#     path: /example
#     defaults:
#         _controller: controller.frontend:record
#         contenttypeslug: page
#         slug: example
#     host: www.mydomain.org


# Example override for a specific contenttype

# pagebinding:
#     path: /{slug}
#     defaults:
#         _controller: controller.frontend:record
#         contenttypeslug: page
#     contenttype: pages



# Example single record override

# aboutbinding:
#     path: /about
#     defaults:
#         _controller: controller.frontend:record
#         contenttypeslug: page
#         slug: about
#     recordslug: page/about


# Supported internal defaults are:
#  _controller   the controller class::method to be called
#  _before       the before to call, if non-existent the 'before()' of the controller will be called
#  _after        the after to call, if non-existent the 'after()' of the controller will be called
#
# Both _before and _after support a shortcut notation which re-uses the controller class: '::before'


# Example: rendering a "static" template from the current theme with no associated record/content.
# Note that you can still load and render content from within the template.

# templatebinding:
#     path: /static-page
#     defaults:
#         _controller: controller.frontend:template
#         template: static-page

Directory Contents

Dirs: 5 × Files: 19

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2024-03-21 11:28:44
Edit Download
php53 DIR
- drwxr-xr-x 2024-03-21 11:28:44
Edit Download
php56 DIR
- drwxr-xr-x 2024-03-21 11:28:44
Edit Download
php71 DIR
- drwxr-xr-x 2024-03-21 11:28:44
Edit Download
php81 DIR
- drwxr-xr-x 2024-03-21 11:28:44
Edit Download
83 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
3.13 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
20.62 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
11.93 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
3.73 KB lrw-r--r-- 2022-09-21 09:21:42
Edit Download
433 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
61 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
4.17 KB lrw-r--r-- 2022-09-21 09:21:42
Edit Download
297 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
2.20 KB lrw-r--r-- 2022-09-21 08:18:40
Edit Download
924 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
16.63 KB lrw-r--r-- 2022-09-21 09:21:42
Edit Download
1.44 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
16.28 KB lrw-r--r-- 2022-09-21 09:21:42
Edit Download
672 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
1.72 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
8.32 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
3.42 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
793 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).