# Public root URL public_root_url: "http://127.0.0.1/eesyphp" # Application root data directory data_directory: "${root_directory_path}/data" # Temporary files root directory tmp_root_directory: "${data_directory}/tmp" # Temporary uploading files directory upload_tmp_directory: ${tmp_root_directory}/uploading" # Main pagetitle main_pagetitle: "Eesyphp" # Debug Ajax request/response debug_ajax: false # # Log configuration # log: # Logs directory path directory_path: "${data_directory}/logs" # CLI log file path cli_file_path: "${log.directory_path}/cli.log" # Log file path file_path: "${log.directory_path}/app.log" # Log level (TRACE / DEBUG / INFO / WARNING / ERROR / FATAL) level: 'INFO' # Log PHP errors levels (as specified to set_error_handler()) # Note: expected a list of PHP error level constants that will be resolved and combine # with a bitwise operator. After the first value, the bitwise operator "|" (OR) or "^" (XOR) # could be specified as contanst name prefix, otherwise the "&" (AND) operator will be used. # The constant name could also be prefix with "~" or "!" (NOT) bitwise operator. # # Default: # - In TRACE or DEBUG: E_ALL & ~E_STRICT # - Otherwise: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED #log_php_errors_levels: # - E_ALL # - ~E_NOTICE # - ~E_STRICT # - ~E_DEPRECATED # # Sentry configuration # sentry: # Sentry DSN #dsn: null # Log PHP errors in Sentry: list of errors types to logs # See: https://www.php.net/manual/fr/errorfunc.constants.php php_error_types: - "E_ERROR" - "E_PARSE" - "E_CORE_ERROR" - "E_COMPILE_ERROR" - "E_USER_ERROR" - "E_RECOVERABLE_ERROR" - "E_DEPRECATED" # Traces sample rate (between 0 and 1) # Note: this parameter permit to determine how many transactions (=~ access) are traced and # sent to Sentry, for instance, 0.2 meen that 20% of the transactions will be traced. In dev # mode, set to 1 if you want all transactions are sent to Sentry. # Default: 0.2 traces_sample_rate: 0.2 # # Smarty templates configuration # templates: # Smarty directories directory: "${root_directory_path}/templates" cache_directory: "${tmp_root_directory}/templates_c" # Theme CSS file included_css_files: #- css/custom.css included_js_files: #- js/custom.js # # Translations # i18n: # Default locale (see locales directory for available languages list) default_locale: 'en_US.UTF8' # # Session # session: timeout: 1800 # Session timeout dur to inactivity (in seconds) max_duration: 43200 # Session max duration (in seconds, default : 12h) # # Database configuration # db: # Sqlite dsn: "sqlite:${data_directory}/db.sqlite3" options: null # Date/Datetime format in database (strptime format) date_format: '%s' datetime_format: '%s' # Postgresql #dsn: "pgsql:host=localhost;port=5432;dbname=items" #user: "items" #pwd: "items" #options: null # Date/Datetime format in database (strptime format) #date_format: '%Y-%m-%d' # Exemple : 2018-10-12 #datetime_format: '%Y-%m-%d %H:%M:%S' # Exemple : 2018-10-12 18:06:59 # MariaDB / MySQL #dsn: "mysql:host=localhost;dbname=items" #user: "items" #pwd: "items" #options: null # Date/Datetime format in database (strptime format) #date_format: '%Y-%m-%d' # Exemple : 2018-10-12 #datetime_format: '%Y-%m-%d %H:%M:%S' # Exemple : 2018-10-12 18:06:59 # # Email configuration # email: # PHP PEAR Mail and Mail_Mine paths php_mail_path: 'Mail.php' php_mail_mime_path: 'Mail/mime.php' # Sending method : # - mail : use PHP mail function # - sendmail : use sendmail system command # - smtp : use an SMTP server (PHP PEAR Net_SMTP required) send_method: 'smtp' # Sending parameters # See : http:#pear.php.net/manual/en/package.mail.mail.factory.php send_params: NULL # Headers add to all e-mails sent headers: #- "CC: support@example.com" # Email sender address (for all emails sent by the application) sender: "noreply@example.org" # Catch all e-mails sent to a configured e-mail address catch_all: false # Web Stats JS code webstats_js_code: '' # vim: tabstop=2 shiftwidth=2 softtabstop=2 expandtab