Configuration

While most of the configurable settings are exposed through the web administrative panel, there are still a number of settings that can only be modified manually due to security concerns.

Note

In this documentation, we will use dot notations to specify the location of the config key being listed.

FoolFrame

These config files are used to manage many of the core settings in the FoolFuuka framework. You can locate these files in the following path after installation: vendor/foolz/foolframe/config/.

Note

We recommend that you copy these config files into and edit them in the following directory: app/foolz/foolframe/config/. The software is designed to load these files instead of the default config files.

cache

type
Type:STRING
Default:dummy
format
Type:STRING
Default:smart_json
prefix
Type:STRING
Default:empty
servers
Type:ARRAY
Default:empty

config

config.cookie_prefix
Type:STRING
Default:empty
install.installed
Type:BOOLEAN
Default:false
modules.installed
Type:ARRAY

db

active
Type:STRING
Default:default
default.driver
Type:STRING
Default:pdo_mysql
default.host
Type:STRING
Default:localhost
default.port
Type:INT
Default:3306
default.dbname
Type:STRING
Default:empty
default.user
Type:STRING
Default:empty
default.password
Type:STRING
Default:empty
default.persistent
Type:BOOLEAN
Default:false
default.prefix
Type:STRING
Default:empty
default.charset
Type:STRING
Default:utf8mb4

foolauth

db_connection
Type:STRING
Default:null
table_name
Type:STRING
Default:users
table_autologin_name
Type:STRING
Default:user_autologin
table_login_attempts_name
Type:STRING
Default:user_login_attempts
table_columns
Type:ARRAY
guest_login
Type:BOOLEAN
Default:true
groups
Type:ARRAY
roles
Type:ARRAY
login_hash_salt
Type:STRING
Default:empty
salt
Type:STRING
Default:empty
username_post_key
Type:STRING
Default:username
password_post_key
Type:STRING
Default:password
attempts_to_lock
Type:INT
Default:10

FoolFuuka

These config files are used to manage many of the core settings in FoolFuuka that we considered very important and shouldn’t be exposed in the web interface. You can locate these files in the following path after installation: assets/config/.

Note

We recommend that you copy these config files into and edit them in the following directory: app/foolz/foolfuuka/config/. The software is designed to load these files instead of the default config files.

config

comment.secure_tripcode_salt
Type:STRING
Default:null

This is the salt used to for secure tripcodes. It is recommend that this salt key be changed when exposed or kept consistent between installations.

media.filecheck
Type:BOOLEAN
Default:true

Checks if the media file exists on the disk. The setting does impact disk performance when enabled due to lstat calls for each file being checked.

Value Effect
true enables the check and returns a generated link based on file existence
false disables the check and returns a full link

foolauth

roles
Type:ARRAY