]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/StoreRemoteMedia/README
Merge branch 'delete_group_logo' into 'nightly'
[quix0rs-gnu-social.git] / plugins / StoreRemoteMedia / README
1 The StoreRemoteMedia plugin downloads remotely attached files to local server.
2
3 Installation
4 ============
5 add "addPlugin('StoreRemoteMedia');"
6 to the bottom of your config.php
7
8 Settings
9 ========
10 domain_whitelist: Array of regular expressions. Always escape your dots and end your strings.
11 check_whitelist: Whether to check the domain_whitelist.
12
13 Example
14 =======
15 addPlugin('StoreRemoteMedia', array(
16     'domain_whitelist' => array(
17         '^i\d*\.ytimg\.com$' => 'YouTube',
18         '^i\d*\.vimeocdn\.com$' => 'Vimeo'
19     ),
20     'check_whitelist' => true
21 ));
22