Skip to content

Instantly share code, notes, and snippets.

@steamraven
Created May 17, 2011 19:12
Show Gist options
  • Save steamraven/977154 to your computer and use it in GitHub Desktop.
Save steamraven/977154 to your computer and use it in GitHub Desktop.
My filez2.1 config
[app]
use_url_rewriting = 1
log_dir = "/var/filez/2.1/log"
upload_dir = "/var/filez/2.1/uploads"
max_file_lifetime = 20
default_file_lifetime = 10
max_extend_count = 7
min_hash_size = 4
max_hash_size = 8
default_locale = "fr"
auth_handler_class = "Fz_Controller_Security_Internal"
user_factory_class = "Fz_User_Factory_Database"
user_quota = "2G"
https = "login_only"
sharing_destinations[] = "email"
admin_email = "somewhere@obscured.com"
[db]
dsn = "pgsql:host=mine;dbname=filez2.1"
user = "user"
password = "password"
[cron]
days_before_expiration_mail = 2
frequency = "+1 day"
[email]
from_name = "santa"
host = "northpole.obscured.com"
from_email = "santa@obscured.com"
name = "filez"
[user_factory_options]
db_use_global_conf = 1
db_table = "fz_user"
db_username_field = "username"
db_password_field = "password"
db_password_algorithm = "encode(digest(:password || salt, 'sha1'),'hex')"
[user_attributes_translation]
firstname = "firstname"
lastname = "lastname"
email = "email"
id = "username"
[looknfeel]
show_credit = 1
help_url = "help"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment