flatpress/fp-defaults/settings-defaults.php
Fraenkiman 6df2cf1c62 Makeup FlatPress Installer
- The HTML of the installer now has a lang attribute in the html start tag to specify the language.
- The installer tries to provide the fp-content directory for owners and groups with write permissions, which had to be done manually before.
Write permissions for "others" removed via default.php. Even if the webserver is configured very unfavorable, only owners and groups should be allowed to write.
- Image files, which are not used by the installer, were removed.
- Removed unnecessary lang variable in default settings.
- In the setup CSS, unused IDs, classes and incorrect references to fonts have been removed.
- The installer header now shines in a simple FlatPress style
2023-10-04 02:01:02 +02:00

43 lines
831 B
PHP
Executable File

<?php
$fp_config = array(
'general' => array(
'www' => 'http://localhost',
'title' => 'FlatPress',
'subtitle' => 'My FlatPress blog',
'footer' => '',
'author' => 'FlatPress Team',
'email' => 'webmaster@localhost.com',
'startpage' => NULL,
'maxentries' => '5',
'notify' => true,
'theme' => 'leggero',
'style' => 'leggero-v2',
'blogid' => 'fpdefid',
'charset' => 'utf-8'
),
'locale' => array(
'timeoffset' => '2',
'timeformat' => '%H:%M:%S',
'dateformat' => '%A, %B %e, %Y',
'dateformatshort' => '%Y-%m-%d',
'charset' => 'utf-8',
'lang' => LANG_DEFAULT
),
'plugins' => array(
'blockparser' => array(
'pages' => array(
'menu',
'about'
),
),
'bbcode' => array (
'escape-html' => true,
'comments' => false,
'editor' => true,
'url-maxlen' => 40,
),
),
);
?>