MCFileManager:Configuration/preview.urlprefix

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: preview.urlprefix

This option should contain the URL prefix, by default this prefix is the current protocol and host such as http://mysite.com/. But some times preview should be passed through a ASPX page or similar and then you want to alter this option.

Example of usage in the config.php file

$mcFileManagerConfig['preview.urlprefix'] = "http://somesite.com/somepreviewpage.php?path=";

Example of usage in the Web.Config file

<add key="preview.urlprefix" value="http://somesite.com/somepreviewpage.aspx?path=" />

Example of usage in a mc_access file

preview.urlprefix=http://somesite.com/somepreviewpage.aspx?path=
Personal tools