<?php
/*
Bluetrait 2.0
Please create a bt-settings.php file to override these settings
i.e.
define('BT_DEBUG', TRUE);
You can hard override any bt_config setting also.
i.e.
bt_hard_set_config('plugin_data', array());
hard config settings are not saved in the database. So if you remove the hard_set line the bt_config value goes back to the value in the database
*/
//debugging settings
if (!defined('BT_DEBUG')) define('BT_DEBUG', FALSE);
if (!defined('BT_LOG_ALL')) define('BT_LOG_ALL', FALSE);
//multi blog settings
if (!defined('BT_MASTER')) define('BT_MASTER', 1);
if (!defined('BT_MULTI_BLOG')) define('BT_MULTI_BLOG', FALSE);
//plugin settings
if (!defined('BT_LOAD_PLUGINS')) define('BT_LOAD_PLUGINS', TRUE);
//mail notify settings (i.e. for error messages that cannot be logged to the database)
if (!defined('BT_MAIL_NOTIFY')) define('BT_MAIL_NOTIFY', FALSE);
if (!defined('BT_MAIL_NOTIFY_EMAIL')) define('BT_MAIL_NOTIFY_EMAIL', 'email_example@bluetrait.org');
if (!defined('BT_MAIL_NOTIFY_SUBJECT')) define('BT_MAIL_NOTIFY_SUBJECT', 'Bluetrait :: Error');
//folder settings
if (!defined('BT_ADMIN')) define('BT_ADMIN', '/bt-admin');
if (!defined('BT_CONTENT')) define('BT_CONTENT', '/bt-content');
//output buffering
if (!defined('BT_OUTPUT_BUFFERING')) define('BT_OUTPUT_BUFFERING', TRUE);
//define what html is allowed in your posts
if (!isset($bt_allowed_html)) {
$bt_allowed_html = array(
'a' => array(
'href' => array(),
'title' => array(),
'rel' => array()
),
'b' => array(),
'div' => array(
'class' => array()
),
'blockquote' => array(
'cite' => array()
),
'img' => array(
'align' => array(),
'alt' => array(),
'style' => array(),
'src' => array(),
'width' => array(),
'vspace' => array(),
'hspace' => array(),
'height' => array(),
'border' => array(),
'class' => array()
),
'object' => array(
'type' => array(),
'data' => array(),
'align' => array(),
'alt' => array(),
'style' => array(),
'src' => array(),
'width' => array(),
'vspace' => array(),
'hspace' => array(),
'height' => array(),
'border' => array(),
'class' => array()
),
'param' => array(
'name' => array(),
'value' => array()
),
'em' => array(),
'br' => array(),
'table' => array(
'width' => array()
),
'td' => array(
'colspan' => array(),
'rowspan' => array()
),
'th' => array(
'colspan' => array(),
'rowspan' => array()
),
'tr' => array(),
'caption' => array(),
'thead' => array(),
'tbody' => array(),
'tfoot' => array(),
'i' => array(),
'p' => array(),
'strike' => array(),
'strong' => array(),
'li' => array(),
'ol' => array(),
'sub' => array(),
'sup' => array(),
'pre' => array(),
'ul' => array()
);
}
//define what html is allowed in comments
if (!isset($bt_allowed_html_comments)) {
$bt_allowed_html_comments = array(
'a' => array(
'href' => array(),
'title' => array(),
'rel' => array()
),
'b' => array(),
'blockquote' => array(
'cite' => array()
),
'em' => array(),
'i' => array(),
'strike' => array(),
'strong' => array(),
'li' => array(),
'pre' => array(),
'ol' => array(),
'code' => array(),
'ul' => array()
);
}
//define what html is allowed in the event viewer
if (!isset($bt_allowed_html_event_viewer)) {
$bt_allowed_html_event_viewer = array(
'a' => array(
'href' => array(),
'title' => array(),
'rel' => array()
),
'b' => array(),
'br' => array(),
'strike' => array(),
'strong' => array(),
'pre' => array()
);
}
?>
|