mirror of
https://github.com/friendica/friendica
synced 2024-11-10 13:42:53 +00:00
2503660f97
- Add new local.ini.tpl template - Change all references from .htconfig.php to config/local.ini.php
65 lines
No EOL
1.4 KiB
Smarty
65 lines
No EOL
1.4 KiB
Smarty
<?php return <<<INI
|
|
|
|
; If automatic system installation fails:
|
|
|
|
; Copy this file to local.ini.php
|
|
|
|
; Why local.ini.php? Because it contains sensitive information which could
|
|
; give somebody complete control of your database. Apache's default
|
|
; configuration will interpret any .php file as a script and won't show the values
|
|
|
|
; Then set the following for your MySQL installation
|
|
|
|
[database]
|
|
hostname = {{$dbhost}}
|
|
username = {{$dbuser}}
|
|
password = {{$dbpass}}
|
|
database = {{$dbdata}}
|
|
charset = utf8mb4
|
|
|
|
; ****************************************************************
|
|
; Some config values below can be overruled from the admin settings
|
|
; ****************************************************************
|
|
|
|
[config]
|
|
php_path = {{$phpath}}
|
|
|
|
admin_email = {{$adminmail}}
|
|
|
|
sitename = Friendica Social Network
|
|
|
|
register_policy = REGISTER_OPEN
|
|
register_text =
|
|
|
|
max_import_size = 200000
|
|
|
|
[system]
|
|
urlpath = {{$urlpath}}
|
|
|
|
default_timezone = {{$timezone}}
|
|
|
|
language = {{$language}}
|
|
|
|
rino_encrypt = {{$rino}}
|
|
|
|
allowed_themes = vier,quattro,duepuntozero,smoothly,frio
|
|
theme = vier
|
|
|
|
allowed_link_protocols[] = ftp
|
|
allowed_link_protocols[] = ftps
|
|
allowed_link_protocols[] = mailto
|
|
allowed_link_protocols[] = cid
|
|
allowed_link_protocols[] = gopher
|
|
|
|
maximagesize = 800000
|
|
|
|
no_regfullname = true
|
|
|
|
block_local_dir = false
|
|
|
|
directory = https://dir.friendica.social
|
|
|
|
auth_cookie_lifetime = 7
|
|
|
|
INI;
|
|
// Keep this line |