sample-config.inc.php 1.5 KB

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