mirror of
https://github.com/e107inc/e107.git
synced 2025-08-27 00:05:46 +02:00
Downloads: Fixes #2576 - Report Broken Download breadcrumb URLs and cleanup.
This commit is contained in:
@@ -114,6 +114,13 @@ class download_url // plugin-folder + '_url'
|
||||
'redirect' => '{e_PLUGIN}download/request.php?id=$1', // file-path of what to load when the regex returns true.
|
||||
);
|
||||
|
||||
$config['report'] = array(
|
||||
'regex' => '^{alias}/report/([\d]*)/(.*)$',
|
||||
'sef' => '{alias}/report/{download_id}/{download_sef}',
|
||||
'redirect' => '{e_PLUGIN}download/download.php?action=report&id=$1', // file-path of what to load when the regex returns true.
|
||||
|
||||
);
|
||||
|
||||
$config['image'] = array(
|
||||
'regex' => '^{alias}/image/([\d]*)/(.*)$',
|
||||
'sef' => '{alias}/image/{download_id}/{download_sef}',
|
||||
|
Reference in New Issue
Block a user