config.php 979 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /*
  3. * Session ID required for API access.
  4. * You can refer to this page to learn how to get one:
  5. * https://codeberg.org/VnPower/PixivFE/src/branch/v2/doc/How-to-get-the-pixiv-token.md
  6. */
  7. const SESSION_ID = '';
  8. /*
  9. * Base URL of this instance.
  10. * You can leave it blank if it's hosted on web root.
  11. */
  12. const BASE_URL = '';
  13. /*
  14. * HTTP Proxy to use when making requests to pixiv.net.
  15. * This is optional; leave it blank if you don't want to use it.
  16. * Format: 'address:port', example: '127.0.0.1:7890'.
  17. */
  18. const HTTP_PROXY = '';
  19. /*
  20. * "Safe For Work"-only mode.
  21. * This will forbid displaying any artworks that are marked R-18 or
  22. * R-18G, even if the user has opted to show them in the settings page.
  23. */
  24. const SFW_ONLY = false;
  25. /*
  26. * "Super Safe For Work"-only mode.
  27. * This will forbid displaying any artworks that may include sexual or
  28. * suggestive (i.e. R-15) content, even if the user has opted to show
  29. * them in the settings page.
  30. */
  31. const SSFW_ONLY = false;