XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
config.php
Go to the documentation of this file.
1 <?php
18 if ( !defined('XOOPS_INSTALL') ) { die('XOOPS Custom Installation die'); }
19 
20 $configs = array();
21 
22 // setup config site info
23 $configs['db_types'] = array( 'mysql');
24 
25 // setup config site info
26 $configs['conf_names'] = array(
27  'sitename',
28  'slogan',
29  'allow_register',
30  'meta_keywords',
31  'meta_description',
32  'meta_author',
33  'meta_copyright',
34 );
35 
36 // languages config files
37 $configs['language_files'] = array(
38  'global',
39 );
40 
41 // extension_loaded
42 $configs['extensions'] = array(
43  'mbstring' => array('MBString', sprintf( PHP_EXTENSION, CHAR_ENCODING ) ),
44  'iconv' => array('Iconv', sprintf( PHP_EXTENSION, ICONV_CONVERSION) ),
45  'xml' => array('XML', sprintf( PHP_EXTENSION, XML_PARSING) ),
46  'zlib' => array('Zlib', sprintf( PHP_EXTENSION, ZLIB_COMPRESSION) ),
47  'gd' => array(( function_exists('gd_info') && $gdlib = @gd_info()) ? 'GD ' . $gdlib['GD Version'] : '', sprintf( PHP_EXTENSION, IMAGE_FUNCTIONS) ),
48  'exif' => array('Exif', sprintf( PHP_EXTENSION, IMAGE_METAS) ),
49  'filter' => array('Filter', sprintf( PHP_EXTENSION, FILTER_FUNCTIONS) ),
50 );
51 
52 // Writable files and directories
53 $configs['writable'] = array('uploads/', 'uploads/avatars/', 'uploads/images/', 'uploads/ranks/', 'uploads/smilies/','xoops_lib/modules/protector/configs/', 'mainfile.php', 'include/license.php');
54 
55 // Modules to be installed by default
56 $configs['modules'] = array();
57 
58 // xoops_lib, xoops_data directories
59 $configs['xoopsPathDefault'] = array(
60  'lib' => 'xoops_lib',
61  'data' => 'xoops_data',
62 );
63 
64 // writable xoops_lib, xoops_data directories
65 $configs['dataPath'] = array(
66  'caches' => array(
67  'xoops_cache',
68  'smarty_cache',
69  'smarty_compile',
70  ),
71  'configs' => null,
72  'data' => null
73 );
74 ?>