jpmschuler/staticpathrouteresolver
最新稳定版本:v1.3.0
Composer 安装命令:
composer require jpmschuler/staticpathrouteresolver
包简介
Site config static routes which support EXT: path prefix to e.g. allow per-site favicon with cms-composer-installers >=4
README 文档
README
Deprecated: part of core since TYPO3 13
There is a core feature now doing the same, with slightly different syntax:
EXT:staticpathrouteresolver
Site config static routes which support EXT: path prefix to e.g. allow per-site redirect of /favicon.ico or /robots.txt with
- TYPO3 11LTS using
typo3/cms-composer-installersv4.0.0RC1or with - TYPO3 12LTS
Installation
Either install
- via composer using
composer req jpmschuler/staticpathrouteresolver - via TER (Extension Manager)
EXT:staticpathrouteresolver
How to use
Either configure the static routes in the site backend module or in your site config.yml, use
routes:
-
route: favicon.ico
path: 'EXT:mysitepackage/Resources/Public/Icons/favicon.ico'
The core handler will ignore all routes without a specified type, we use that to not let core throw exceptions or interact on that config.
统计信息
- 总下载量: 10.82k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2023-07-26