123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- {
- "wikipp" : {
- "script" : "/wikipp",
- "media" :"/media",
- //"syntax_highlighter" : "/media/sh",
- "disable_registration" : false,
-
- "languages" : {
- "en" : "en_US.UTF-8" ,
- "fr" : "fr_FR.UTF-8" ,
- "he" : "he_IL.UTF-8" ,
- "ru" : "ru_RU.UTF-8" ,
- "pl" : "pl_PL.UTF-8"
- },
-
- // Sqlite3 Sample Connection String
- "connection_string" : "sqlite3:db=./db/wikipp.db;@pool_size=16",
- //
- // PostgreSQL Sample Connection String
- // "connection_string" : "postgresql:dbname=wikipp;@pool_size=16",
- //
- // MySQL Sample Connection String
- //
- // "connection_string" : "mysql:database=wikipp;user=root;password=root;@pool_size=16",
- //
- // In Some cases mysql works faster without prepared statements as it uses query cache, so you
- // may change this string to:
- //
- // "connection_string" : "mysql:database=wikipp;user=root;password=root;@pool_size=16;@use_prepared=off",
- //
- },
- "service" : {
- "api" : "http",
- "port" : 8080,
- // "api" : "fastcgi",
- "socket" : "/tmp/wikipp.sock"
- // "socket" : "stdin"
- },
- "session" : {
- "expire" : "renew",
- "location" : "client",
- "timeout" : 2592000, // One month 24*3600*30
- "cookies" : {
- "prefix" : "wikipp"
- },
- "server" : {
- "storage" : "files"
- },
- "client" : {
- "encryptor" : "aes",
- "key" : "9bc6dbda707cb72ea1205dd5b1c90464"
- }
- },
- "views" : {
- "paths" : [ "./build"] ,
- "skins" : [ "view" ] ,
- //"auto_reload" : true
- },
- "file_server" : {
- "enable": true,
- "doument_root" : "."
- },
- "localization" : {
- // "backend" : "std", you may switch if for performance enhanecements
- "messages" : {
- "paths" : [ "./build/locale"],
- "domains" : [ "wikipp" ]
- },
- "locales" : [ "fr_FR.UTF-8", "he_IL.UTF-8" , "en_US.UTF-8", "ru_RU.UTF-8", "pl_PL.UTF-8" ]
- },
- "http" : {
- "script_names" : [ "/wikipp" ]
- },
- "logging" : {
- "level" : "info",
- "syslog" : {
- "enable": true,
- "id" : "WikiPP"
- },
- "file" : {
- "name" : "./wikipp.log",
- "append" : true
- }
- },
- "cache" : {
- "backend" : "thread_shared",
- "limit" : 100, // items - thread cache
- },
- "security" : {
- "csrf" : { "enable" : true }
- // "multipart_form_data_limit" : 65536, // KB
- // "content_length_limit" : 1024, // KB
- // "uploads_path" : "" // temporary directory
- //
- // You may change to true for debugging only
- // "display_error_message" : false
- }
-
- }
-
-
|