Skip to content

Instantly share code, notes, and snippets.

@tomredsky
Created August 22, 2017 14:11
Show Gist options
  • Save tomredsky/86e3f948f384e22ce6bbf7c5b5b08967 to your computer and use it in GitHub Desktop.
Save tomredsky/86e3f948f384e22ce6bbf7c5b5b08967 to your computer and use it in GitHub Desktop.
# rename this file to spl.yml and put a ':' after 'name' if
# you want to use YAML like in old versions of Catalyst
name SPL
<Plugin::Cache>
<backend>
class Cache::FastMmap
unlink_on_exit 1
share_file /tmp/dpaikkos-cache-plugin
</backend>
</Plugin::Cache>
<Model::SPLDB>
schema_class SPL3::Schema
<connect_info>
dsn dbi:Pg:dbname=''
user dpaikkos
</connect_info>
</Model::SPLDB>
<Plugin::Session>
storage /tmp/dpaikkos-session
# extend default session expiry to 3h
expires 10800
flash_to_stash 1
# Cache::FastMmap options
cache_size 128m
# it seems the *default* is currently to only use LRU to expire cache items
#expire_time 7200
unlink_on_exit 0
</Plugin::Session>
<View::TT>
COMPILE_DIR tmp/ttc
</View::TT>
email_sender [email protected]
email_from_address [email protected]
email_to_address_for_testing [email protected]
email_for_contributors [email protected]
email_for_searches [email protected]
<meta>
# description "The leading provider of science and specialist images and footage."
keywords "science photo library, stock images, photos, stock footage, film, rights managed, royalty free, education, healthcare, science and technology, space, environment, animals, flowers, history"
google-site-verification "Ao0ReNG4gfRn_P6omFHpDMMFwhIT1x90POE0k8Lc86k"
</meta>
skip_ssl_for_testing 1
enable_previews 0
path_to_static "//www.sciencephoto.com"
image_host "//www.sciencephoto.com"
enable_login_logging 0
enable_search_logging 0
enable_add_this 0
enable_analytics 0
ocau_disabled_countries "AUT BEL BRA DNK FIN FRA DEU JPN NLD NOR ESP SWE CHE USA"
purchase_disabled_countries "ESP SWE DEU"
<alt_languages>
DEU 1
</alt_languages>
<PhotoWeb>
base ""
registration https://contributors.sciencephoto.co.uk/juno/api/contact/register
download https://contributors.sciencephoto.co.uk/juno/api/download/notify
payment "https://contributors.sciencephoto.co.uk/cgi-bin/dwsrun?PS_INV.DWO"
</PhotoWeb>
sitemap_base_url "http://www.sciencephoto.com"
sitemap_directory "/var/www/sitemaps"
<DSS>
spool /var/spool/spl
log /var/www/SPL/log/dss.log
email [email protected]
</DSS>
default_per_page 48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment