1
0
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:
Cameron
2017-04-26 10:03:12 -07:00
parent 8135bde5f7
commit 252abfdce6
3 changed files with 13 additions and 8 deletions

View File

@@ -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}/?(.*)$',