diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-05-14 19:41:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-05-14 19:41:18 +0000 |
commit | e22f1042fc6debde9eb448efd64321b1a740fda3 (patch) | |
tree | 9cdc1746d10646674b176ba90010d3c9e21cf837 /includes/setting.php | |
parent | 8ec1018384d1a5f66e1c74728f185ee2fc803c06 (diff) | |
download | brdo-e22f1042fc6debde9eb448efd64321b1a740fda3.tar.gz brdo-e22f1042fc6debde9eb448efd64321b1a740fda3.tar.bz2 |
- Renamed "hostname.conf" to "setting.php" (cfr. "setting.module").
Note that - when upgrading - you have to rename all your existing
configuration files to reflect this change:
yourdomain.com.conf -> yourdomain.com.php
By default, i.e. if no configuration file is found, setting.php
will be used instead. Using the ".php"-extension will fix most
configuration/security issues with .htaccess-files ...
- Removed some dead code from forum.module.
Diffstat (limited to 'includes/setting.php')
-rw-r--r-- | includes/setting.php | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/includes/setting.php b/includes/setting.php new file mode 100644 index 000000000..dbbc5eec6 --- /dev/null +++ b/includes/setting.php @@ -0,0 +1,63 @@ +<?php + + +# +# Database settings: +# +$db_host = "localhost"; +$db_user = "username"; +$db_pass = "password"; +$db_name = "database"; + +# +# Comment votes: +# The keys of this associative array are displayed in each comment's +# selection box whereas the corresponding values represent the +# mathematical calculation to be performed to update a comment's +# value. +# +$comment_votes = array("none" => "none", + "-1" => "- 1", + "0" => "+ 0", + "+1" => "+ 1", + "+2" => "+ 2", + "+3" => "+ 3", + "+4" => "+ 4", + "+5" => "+ 5"); + +# +# Allowed HTML tags: +# +$allowed_html = "<A><B><BLOCKQUOTE><CODE><DD><DL><DT><EM><HR><I><LI><SMALL><OL><U><UL>"; + +# +# Themes: +# The first theme listed in this associative array will automatically +# become the default theme. +# +$themes = array("UnConeD" => array( + "themes/unconed/unconed.theme", + "modern theme, gray and blue, high coolness factor"), + "Marvin" => array( + "themes/marvin/marvin.theme", + "classic theme, white, basic design with a fresh look")); + +# +# Languages / translation / internationalization: +# The first language listed in this associative array will +# automatically become the default language. You can add a language +# but make sure your SQL table, called locales is updated +# appropriately. +# +# Translation support - as provided by the default locale module add +# significant overhead to your site in exchange for excessive +# maintenance capabilities. If your site does not require +# translation support, disable it by commenting out the $language +# variable below. +#$language = array(); // = language support disabled +$languages = array("en" => "English"); + +# This line prevents users from accessing your settings file: +die(); + +?>
\ No newline at end of file |