ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
config.default.php
Go to the documentation of this file.
1<?php
2
3if(!defined("PHORUM")) exit;
4
5// default HTML Purifier configuration settings
6$config->set('HTML.Allowed',
7 // alphabetically sorted
8'a[href|title]
9abbr[title]
10acronym[title]
11b
12blockquote[cite]
13br
14caption
15cite
16code
17dd
18del
19dfn
20div
21dl
22dt
23em
24i
25img[src|alt|title|class]
26ins
27kbd
28li
29ol
30p
31pre
32s
33strike
34strong
35sub
36sup
37table
38tbody
39td
40tfoot
41th
42thead
43tr
44tt
45u
46ul
47var');
48$config->set('AutoFormat.AutoParagraph', true);
49$config->set('AutoFormat.Linkify', true);
50$config->set('HTML.Doctype', 'XHTML 1.0 Transitional');
51$config->set('Core.AggressivelyFixLt', true);
52$config->set('Core.Encoding', $GLOBALS['PHORUM']['DATA']['CHARSET']); // we'll change this eventually
53if (strtolower($GLOBALS['PHORUM']['DATA']['CHARSET']) !== 'utf-8') {
54 $config->set('Core.EscapeNonASCIICharacters', true);
55}
56
57// vim: et sw=4 sts=4
An exception for terminatinating execution or to throw for unit testing.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27