12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- $config = array(
- // Set the theme to be used.
- 'theme' => 'default',
- // Path to your installation. `get_base_url()` tries to auto-detect.
- 'base_url' => get_base_url(),
- // Comment the above and uncomment the following for overriding
- // auto-detect value.
- //'base_url' => 'https://example.com/vioscope',
- // Absolute path of the installation on the system.
- 'abs_path' => __DIR__ . '/',
- 'app_name' => 'VIOSCOPE',
- 'footer_text_1' => 'Powered by VIOSCOPE',
- 'footer_text_2' => 'GPLv3 | <a href="#">Source Code</a>',
- // Quality that is loaded by default
- // Options:
- // - auto: Select the one returned first from service (usually the best
- // for the device)
- // - 480p|720p|1080p|4k: Load the desired quality by default
- 'default_quality' => 'auto', // TODO: implement
- // Allow user to change quality
- 'allow_changing_quality' => true, // TODO: implement
- 'pagination_amount' => 50, // TODO: implement
- // Proxy settings
- // Enable or disable proxy settings set later
- 'proxy_enabled' => false,
- // Adds proxy to frontend assets such as thumbnail images and video stream url.
- // WARNING: May exhaust your server bandwidth. Use carefully. Default: false
- 'proxy_for_frontend_assets_enabled' => false, // TODO: implement
- // Supported proxy types: 'http' (default), 'socks4', 'socks5', 'socks4a'
- 'proxy_type' => 'socks5',
- 'proxy_ip' => '127.0.0.1',
- 'proxy_port' => '9050',
- //'proxy_username' => 'someuser',
- //'proxy_password' => 'somepasswd',
- );
- // Set theme url based on base_url.
- $config['theme_url'] = $config['base_url'] . '/themes/' . $config['theme'];
|