XOOPS  2.6.0
config.php File Reference

Go to the source code of this file.

Namespaces

 installer
 

Variables

 $available_pdo_drivers = \PDO::getAvailableDrivers()
 
 $configs = array()
 
 $configs ['db_types'] = array()
 
if(in_array('mysql', $available_pdo_drivers)) if(in_array('sqlite', $available_pdo_drivers)) if(in_array('pgsql', $available_pdo_drivers)) if(function_exists('oci_connect')) if(in_array('oci', $available_pdo_drivers)) if(function_exists('db2_connect')) if(in_array('sqlsrv', $available_pdo_drivers)) if(function_exists('sqlsrv_connect')) if(function_exists('mysqli_connect')) $configs ['db_param_names']
 
 $configs ['db_param_types']
 
 $configs ['conf_names']
 
 $configs ['extensions']
 
 $configs ['writable']
 
 $configs ['modules']
 
 $configs ['ext']
 
 $configs ['xoopsPathDefault']
 
 $configs ['dataPath']
 

Variable Documentation

$available_pdo_drivers = \PDO::getAvailableDrivers()

Definition at line 31 of file config.php.

$configs = array()

Definition at line 27 of file config.php.

Referenced by CommentsCommentForm\__construct(), XoopsBaseConfig\__construct(), Xoops\Form\Editor\__construct(), Xoops\Form\Captcha\__construct(), Xoops\Auth\Provisioning\__construct(), Xoops\Auth\Ldap\__construct(), Xoops\addConfigs(), CommentsUserconfigsPlugin\configs(), UserconfigsConfigHandler\createDefaultUserConfigs(), SystemModule\deleteConfigs(), UserconfigsConfigHandler\deleteConfigsByModule(), Notifications\deleteModuleRelations(), Comments\deleteModuleRelations(), DebugbarPreload\eventCoreIncludeCommonAuthSuccess(), LoggerPreload\eventCoreIncludeCommonAuthSuccess(), MonologPreload\eventCoreIncludeCommonSecurity(), DebugbarPreload\eventCoreTemplateConstructStart(), LoggerPreload\eventCoreTemplateConstructStart(), CommentsPreload\eventOnModuleUpdateConfigs(), NotificationsPreload\eventOnModuleUpdateConfigs(), XoopsBaseConfig\get(), XoopsBaseConfig\getAll(), XoopsConfigHandler\getConfigList(), UserconfigsConfigHandler\getConfigList(), LoggerPreload\getConfigs(), DebugbarPreload\getConfigs(), MonologPreload\getConfigs(), XoopsConfigHandler\getConfigsByCat(), UserconfigsConfigHandler\getConfigsByModule(), XoopsConfigHandler\getConfigsByModule(), UserconfigsConfigHandler\getConfigsByUser(), UserconfigsConfigsForm\getForm(), SystemPreferencesForm\getForm(), XoopsBaseConfig\getInstance(), Xoops\getModuleConfigs(), Notifications\getPluginableConfigs(), Comments\getPluginableConfigs(), Comments\getUserConfig(), XoopsBaseConfig\has(), Notifications\insertModuleRelations(), Comments\insertModuleRelations(), SystemModule\installconfigs(), XoopsLoad\loadConfig(), mod_fetchConfig(), XoopsCaptcha\setConfigs(), xoops_module_update_search(), and xoops_module_update_system().

$configs['db_types'] = array()

Definition at line 32 of file config.php.

if (in_array('mysql', $available_pdo_drivers)) if (in_array('sqlite', $available_pdo_drivers)) if (in_array('pgsql', $available_pdo_drivers)) if (function_exists('oci_connect')) if (in_array('oci', $available_pdo_drivers)) if (function_exists('db2_connect')) if (in_array('sqlsrv', $available_pdo_drivers)) if (function_exists('sqlsrv_connect')) if (function_exists('mysqli_connect')) $configs['db_param_names']
Initial value:
= array(
'host' => 'DB_HOST',
'user' => 'DB_USER',
'password' => 'DB_PASS',
'port' => 'DB_PORT',
'unix_socket' => 'DB_SOCK',
'path' => 'DB_PATH',
'service' => 'DB_SERVICE',
'pooled' => 'DB_POOLED',
'protocol'=>'DB_PROTOCOL',
'protocol'=>'DB_PROTOCOL',
'dbname'=>'DB_NAME',
)

Definition at line 107 of file config.php.

$configs['db_param_types']
Initial value:
= array(
'host' => 'string',
'user' => 'string',
'password' => 'password',
'port' => 'string',
'unix_socket' => 'string',
'path' => 'string',
'service' => 'boolean',
'pooled' => 'boolean',
'protocol'=>'string',
'dbname'=>'string',
)

Definition at line 121 of file config.php.

$configs['conf_names']
Initial value:
= array(
'sitename', 'slogan', 'allow_register', 'meta_keywords', 'meta_description', 'meta_author', 'meta_copyright',
)

Definition at line 134 of file config.php.

$configs['extensions']
Initial value:
= array(
'mbstring' => array('MBString', sprintf(PHP_EXTENSION, CHAR_ENCODING)),
'iconv' => array('Iconv', sprintf(PHP_EXTENSION, ICONV_CONVERSION)),
'xml' => array('XML', sprintf(PHP_EXTENSION, XML_PARSING)),
'zlib' => array('Zlib', sprintf(PHP_EXTENSION, ZLIB_COMPRESSION)),
'gd' => array(
(function_exists('gd_info') && $gdlib = @gd_info()) ? 'GD ' . $gdlib['GD Version'] : '',
),
'exif' => array('Exif', sprintf(PHP_EXTENSION, IMAGE_METAS)),
'curl' => array('Curl', sprintf(PHP_EXTENSION, CURL_HTTP)),
)
const PHP_EXTENSION
Definition: install.php:24
const IMAGE_FUNCTIONS
Definition: install.php:183
const CHAR_ENCODING
Definition: install.php:25
const ICONV_CONVERSION
Definition: install.php:181
const ZLIB_COMPRESSION
Definition: install.php:182
const IMAGE_METAS
Definition: install.php:184
const CURL_HTTP
Definition: install.php:185
const XML_PARSING
Definition: install.php:26

Definition at line 139 of file config.php.

$configs['writable']
Initial value:
= array(
'uploads/',
'uploads/images/',
'uploads/ranks/',
'uploads/smilies/',
)

Definition at line 153 of file config.php.

$configs['modules']
Initial value:
= array(
'banners',
'page',
'search',
'userconfigs',
)

Definition at line 164 of file config.php.

$configs['ext']
Initial value:
= array(
'avatars',
'comments',
'debugbar',
'images',
'mailusers',
'maintenance',
'menus',
'notifications',
'protector',
'smilies',
'thumbs',
'xmf',
)

Definition at line 172 of file config.php.

$configs['xoopsPathDefault']
Initial value:
= array(
'lib' => 'xoops_lib',
'data' => 'xoops_data',
)

Definition at line 188 of file config.php.

$configs['dataPath']
Initial value:
= array(
'caches' => array(
'xoops_cache', 'smarty_cache', 'smarty_compile',
),
'configs' => null,
'data' => null
)

Definition at line 194 of file config.php.