MCFileManager:Configuration/filesystem

From Moxiecode Documentation Wiki

Jump to: navigation, search

Option: filesystem

This option enables you set the class to be used for the default file system implementation.

You can always extend this Moxiecode_LocalFileImpl class with your own custom logic, but this can break stability and the possibility for future upgrades.

Notice that the .NET version uses a FileFactory class to create it's file instances.

Example of usage in the config.php file

$mcFileManagerConfig['filesystem'] = "Moxiecode_LocalFileImpl";

Example of usage in the Web.Config file

<add key="filesystem" value="LocalFile" />
Personal tools