mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 03:24:20 +02:00
Downloads: Fix for screenshot links.
This commit is contained in:
@@ -114,6 +114,11 @@ 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['image'] = array(
|
||||
'regex' => '^{alias}/image/([\d]*)/(.*)$',
|
||||
'sef' => '{alias}/image/{download_id}/{download_sef}',
|
||||
'redirect' => '{e_PLUGIN}download/request.php?download.$1', // file-path of what to load when the regex returns true.
|
||||
);
|
||||
|
||||
$config['index'] = array(
|
||||
'regex' => '{alias}/?(.*)$',
|
||||
|
Reference in New Issue
Block a user