config.php 674 B

1234567891011121314151617181920212223242526
  1. <?php
  2. $protocol = "https://";
  3. $domain = "example.com";
  4. $image_path = "./i/"; // path to image upload folder in filesystem
  5. $image_url = "/i/"; // url to image
  6. $thumb_path = "./t/"; // path to image thumbnail upload folder in filesystem
  7. $thumb_url = "/t/"; // url to image thumbnail
  8. $mirror_list = array(
  9. $domain => "",
  10. "example.net" => "example.net" // domain for second mini-image-host site (remove if not needed)
  11. );
  12. $max_file_size = 25 * 1024 * 1024; // In bytes, for file uploads
  13. $max_image_size = 800; // In Pixles, images bigger then this will be resized
  14. $allowed_types = array(
  15. 'image/jpeg',
  16. 'image/png',
  17. 'image/gif',
  18. 'image/webp'
  19. );