Files
luxtools-plugin/conf/default.php
luxick 23a50ce4f6 Access control for file serving
Authenticated user only for now
2026-01-09 10:32:15 +01:00

27 lines
783 B
PHP

<?php
/**
* Options for the luxtools plugin
*/
$conf['paths'] = '';
$conf['scratchpad_paths'] = '';
$conf['allow_in_comments'] = 0;
$conf['defaults'] = '';
$conf['extensions'] = '';
// MediaManager ID for gallery thumbnail placeholder
$conf['thumb_placeholder'] = ':wiki:thumb-placeholder.png';
// Multiplier for gallery thumbnail generation size (1 = 150x150, 2 = 300x300).
// Thumbnails are still displayed as 150x150 on the page.
$conf['gallery_thumb_scale'] = 1;
// Local client service used by {{open>...}}.
$conf['open_service_url'] = 'http://127.0.0.1:8765';
// Access allowlist for the file-serving endpoint (file.php).
// Empty means: any authenticated user may access. Anonymous users are denied.
// Use '@group' to allow a whole group.
$conf['access_allow'] = '';