1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

Fix for using downloads as root space.

This commit is contained in:
Cameron 2017-01-27 16:04:18 -08:00
parent cde320a365
commit a2a7d19dfa

View File

@ -16,6 +16,7 @@ class plugin_download_url extends eUrlConfig
return array(
'config' => array(
'allowMain' => true,
'noSingleEntry' => true, // [optional] default false; disallow this module to be shown via single entry point when this config is used
'legacy' => '{e_PLUGIN}download/download.php', // this config won't work in single entry point mod (legacy not used at all), so just set this to default plugin file to notify router it's legacy module
'format' => 'get', // get|path - notify core for the current URL format, if set to 'get' rules will be ignored