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).
"require": {
"siezi/phile-serve-content-files": "*"
}- Install Phile
- copy this plugin into
plugins/siezi/phileServeContentFiles
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];See plugin config.php file.