Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 3d69d5c79aca6db4aa9c965c3a2b45a1 > files > 14

mojomojo-1.04-1.fc15.noarch.rpm

# NOTE: As a best practice, instead of editing this file, create a
# mojomojo_local.conf file, and modify there settings from this file.
# Settings in mojomojo_local.conf will take precedence, and they
# won't be overwritten when upgrading MojojMojo.

name  MojoMojo
theme default

# If you change default_lang on a running site, please delete the index_dir
# from your file system so it will be generated using the new language the
# next time you start this MojoMojo
default_lang en

system_mail Default Installation <noreply@mojomojo.org>
<View::Email>
   <sender>
       mailer SMTP
       <mailer_args>
           host localhost
       </mailer_args>
   </sender>
</View::Email>

# Un-comment force_ssl line below if you want to enforce HTTPS
#force_ssl 1

<Model::DBIC>
    <connect_info>
    
    # DB User
    user              db_user
    password          db_password
    
    # SQLite dsn (default data store)
    dsn               dbi:SQLite:/var/lib/mojomojo/mojomojo.db

    # Enable unicode for supported databases
    sqlite_unicode    1
    mysql_enable_utf8 1
    pg_enable_utf8    1
    
    </connect_info>
</Model::DBIC>

root   /usr/share/mojomojo/root
static_path /mojomojo/static/
attachment_dir /var/lib/mojomojo/uploads
index_dir /var/lib/mojomojo/index

<session>
    expires 604800
    cache_size 15m
    verify_address 0
</session>

<permissions>
    check_permission_on_view    1
    cache_permission_data       1
    enforce_login               0
    create_allowed              1
    delete_allowed              1
    edit_allowed                1
    view_allowed                1
    attachment_allowed          1
</permissions>

<environment>
    RECAPTCHA_PUBLIC_KEY  6LcsbAAAAAAAAPDSlBaVGXjMo1kJHwUiHzO2TDze
    RECAPTCHA_PRIVATE_KEY 6LcsbAAAAAAAANQQGqwsnkrTd7QTGRBKQQZwBH-L
</environment>

# Put the domain names or URLs you'd like to allow src= from.
<allowed>
    src delicious.com
    src flickr.com
    src getsatisfaction.com
    src google.com
    src iusethis.com
    src iwatchthis.com
    src last.fm
    src twitter.com
</allowed>
<Formatter::Dir>
    prefix_url /myfiles
    whitelisting t/var/files
</Formatter::Dir>