Skip to content

Schlaefer/phileServeContentFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serve Content Files Plugin for PhileCMS

Build Status

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 the content/ directory

Note: This plugin trades some performance (potentially serving files through PHP) for convenience (no need to fiddle with the server or content files).

Project Home

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.

About

Plugin for PhileCMS to serve files from the content/ directory

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages