siezi/phile-serve-content-files
最新稳定版本:0.2.0
Composer 安装命令:
composer require siezi/phile-serve-content-files
包简介
Plugin for PhileCMS to serve files from the content/ directory
README 文档
README
This plugin tries some magic™ to directly serve additional files from the content/ directory:
- change HTML output and insert
content/if it's missing in URLs - serve requests without
content/in URL from thecontent/directory
Note: This plugin trades some performance (potentially serving files through PHP) for convenience (no need to fiddle with the server or content files).
1.1 Installation (composer)
"require": { "siezi/phile-serve-content-files": "*" }
1.2 Installation (Manual Download)
- Install Phile
- copy this plugin into
plugins/siezi/phileServeContentFiles
2. Activation
After you have installed the plugin you need to activate it. Add the following line to Phile's root config.php file:
$config['plugins']['siezi\\phileServeContentFiles'] = ['active' => true];
3. Configuration
See plugin config.php file.
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-04