XOOPS  2.6.0
config.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
24 return $config = array(
25  "extensions" => array(
26  "iframe" => 0,
27  "image" => 1,
28  "flash" => 1,
29  "youtube" => 1,
30  "mp3" => 0,
31  "wmp" => 0,
32  // If other module is used, please modify the following detection and 'link' in /wiki/config.php
33  "wiki" => is_dir(\XoopsBaseConfig::get('root-path') . '/modules/mediawiki/'),
34  "mms" => 0,
35  "rtsp" => 0,
36  'soundcloud' => 0,
37  "ul" => 1,
38  "li" => 1
39  ),
40 
41  "truncate_length" => 60,
42 
43  // Filters XSS scripts on display of text
44  // There is considerable trade-off between security and performance
45  "filterxss_on_display" => false
46 );
return $config
Definition: config.php:31
static get($name)