XOOPS 2.5.6
Final
|
Go to the source code of this file.
Namespaces | |
namespace | kernel |
Variables | |
$config_handler =& xoops_gethandler('config') | |
$member_handler =& xoops_gethandler('member') | |
if(version_compare(PHP_VERSION, '5.3.0', ' <')) global | $sess_handler =& xoops_gethandler('session') |
if(version_compare(PHP_VERSION, '5.3.0', ' <')) global | $xoops = new xos_kernel_Xoops2() |
$xoopsConfig = $config_handler->getConfigsByCat(XOOPS_CONF) | |
$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection() | |
if(version_compare(PHP_VERSION, '5.3.0', ' <')) global | $xoopsErrorHandler =& XoopsLogger::getInstance() |
if(version_compare(PHP_VERSION, '5.3.0', ' <')) global | $xoopsLogger =& XoopsLogger::getInstance() |
if(version_compare(PHP_VERSION, '5.3.0', ' <')) global | $xoopsPreload =& XoopsPreload::getInstance() |
$xoopsRequestUri =& $_SERVER['REQUEST_URI'] | |
if(version_compare(PHP_VERSION, '5.3.0', ' <')) global | $xoopsSecurity = new XoopsSecurity() |
$xoopsUser = '' | |
$xoopsUserIsAdmin = false | |
$xoopsLogger | activated = false |
defined('DS') or define('DS' | DIRECTORY_SEPARATOR |
if(file_exists($file=$GLOBALS['xoops']-> path('var/configs/xoopsconfig.php'))) | else |
if ($_SERVER['REQUEST_METHOD']!= 'POST'||!$xoopsSecurity->checkReferer(XOOPS_DB_CHKREF)) | |
defined('NWLINE') or define('NWLINE' | n |
const | XOOPS_COOKIE_DOMAIN (strpos($domain = xoops_getBaseDomain(XOOPS_URL),'.')) === FALSE ? '' : '.' . $domain |
$config_handler =& xoops_gethandler('config') |
Get xoops configs Requires functions and database loaded
Definition at line 119 of file common.php.
$member_handler =& xoops_gethandler('member') |
Definition at line 177 of file common.php.
$sess_handler =& xoops_gethandler('session') |
Definition at line 19 of file common.php.
$xoops = new xos_kernel_Xoops2() |
Definition at line 19 of file common.php.
$xoopsConfig = $config_handler->getConfigsByCat(XOOPS_CONF) |
Definition at line 120 of file common.php.
$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection() |
Definition at line 113 of file common.php.
$xoopsErrorHandler =& XoopsLogger::getInstance() |
Definition at line 19 of file common.php.
$xoopsLogger =& XoopsLogger::getInstance() |
Definition at line 19 of file common.php.
$xoopsPreload =& XoopsPreload::getInstance() |
Definition at line 19 of file common.php.
$xoopsRequestUri =& $_SERVER['REQUEST_URI'] |
Definition at line 63 of file common.php.
$xoopsSecurity = new XoopsSecurity() |
Definition at line 19 of file common.php.
$xoopsUser = '' |
User Sessions
Definition at line 175 of file common.php.
Referenced by b_system_comments_show(), b_system_info_show(), b_system_login_show(), b_system_main_show(), b_system_notification_show(), b_system_online_show(), b_system_user_show(), b_system_waiting_show(), XoopsAuthProvisionning\change(), protector_postcommon_post_deny_by_rbl\execute(), protector_postcommon_post_htmlpurify4guest\execute(), protector_postcommon_post_register_moratorium\execute(), protector_postcommon_post_deny_by_httpbl\execute(), protector_postcommon_post_need_multibyte\execute(), form_user(), XoopsLocalAbstract\formatTimestamp(), XoopsGuiZetadigme\header(), XoopsSystemGui\header(), XoopsGuiDefault\header(), MytsTextfilter\load(), XoopsAuthLdap\loadXoopsUser(), make_cblock(), make_sidebar(), mod_generateCacheId_byGroup(), XoopsComments\printNavBar(), protector_postcommon(), XoopsLogger\render(), XoopsMailer\sendPM(), XoopsComments\showThreadPost(), smarty_function_xoInboxCount(), smarty_function_xoMemberInfo(), XoopsNotificationHandler\subscribe(), XoopsAuthProvisionning\sync(), XoopsNotificationHandler\triggerEvent(), XoopsNotificationHandler\unsubscribe(), XoopsUserUtility\validate(), xoops_getUserTimestamp(), xoops_legacy_cp_header(), and xoops_module_install().
$xoopsUserIsAdmin = false |
Definition at line 176 of file common.php.
Referenced by MytsTextfilter\load(), and redirect_header().
$xoopsLogger activated = false |
Definition at line 156 of file common.php.
defined ('DS') or define('DS' DIRECTORY_SEPARATOR |
YOU SHOULD NEVER USE THE FOLLOWING TO CONSTANTS, THEY WILL BE REMOVED
Definition at line 28 of file common.php.
if ($xoopsConfig['debug_mode']==1||$xoopsConfig['debug_mode']==2) else |
Merge file and db configs.
Start of Error Reportings.
Definition at line 129 of file common.php.
if($_SERVER['REQUEST_METHOD']!= 'POST'||!$xoopsSecurity->checkReferer(XOOPS_DB_CHKREF)) |
Check Proxy; Requires functions Get database for making it global Requires XoopsLogger, XOOPS_DB_PROXY;
Definition at line 104 of file common.php.
defined ('NWLINE') or define('NWLINE' n |
Definition at line 29 of file common.php.
const XOOPS_COOKIE_DOMAIN (strpos($domain = xoops_getBaseDomain(XOOPS_URL),'.')) === FALSE ? '' : '.' . $domain |
Include Required Files YOU SHOULD NEVER USE THE FOLLOWING CONSTANT, IT WILL BE REMOVED Set cookie dope for multiple subdomains remove the '.'. to use top level dope for session cookie; Requires functions
Definition at line 98 of file common.php.
Referenced by XoopsSessionHandler\update_cookie().