XOOPS
2.6.0
|
Go to the source code of this file.
Namespaces | |
kernel | |
Variables | |
$GLOBALS ['xoops'] =& $xoops | |
$GLOBALS ['xoopsDB'] =& $xoopsDB | |
$member_handler = $xoops->getHandlerMember() | |
$psr4loader = new \Xoops\Core\Psr4ClassLoader() | |
$xFrameOptions = isset($xoopsConfig['xFrameOptions']) ? $xoopsConfig['xFrameOptions'] : 'sameorigin' | |
if(!class_exists('XoopsLoad', false)) global | $xoops = Xoops::getInstance() |
if($xoops->getConfig('closesite')==1) | $xoops_url = \XoopsBaseConfig::get('url') |
$xoopsConfig =& $xoops->config | |
global | $xoopsDB = \XoopsDatabaseFactory::getDatabaseConnection(true) |
$xoopsLogger = $xoops->logger() | |
$xoopsModule =& $xoops->module | |
$xoopsModuleConfig =& $xoops->moduleConfig | |
$xoopsSecurity = $xoops->security() | |
$xoopsUser =& $xoops->user | |
$xoopsUserIsAdmin =& $xoops->userIsAdmin | |
$xoTheme = null | |
defined('DS') or define('DS' | DIRECTORY_SEPARATOR |
if(!defined('XOOPS_XMLRPC')) | else |
if (isset($delayedWarning)) | |
$xoops | moduleDirname = 'system' |
defined('NWLINE') or define('NWLINE' | n |
$xoops | option =& $GLOBALS['xoopsOption'] |
$GLOBALS['xoops'] =& $xoops |
Definition at line 33 of file common.php.
Referenced by Xmf\Module\Helper\AbstractHelper\__construct(), DebugbarLogger\addToTheme(), LegacyLogger\addToTheme(), TinyMCE\init(), Xmf\Module\Helper\GenericHelper\isCurrentModule(), Xmf\Module\Helper\GenericHelper\isUserAdmin(), Xmf\Language\load(), TinyMCE\loadCss(), MenusDefaultDecorator\start(), Xoops\theme(), and XoopsTheme\xoInit().
$GLOBALS['xoopsDB'] =& $xoopsDB |
Definition at line 37 of file common.php.
$member_handler = $xoops->getHandlerMember() |
User Sessions
Definition at line 177 of file common.php.
$psr4loader = new \Xoops\Core\Psr4ClassLoader() |
Definition at line 75 of file common.php.
$xFrameOptions = isset($xoopsConfig['xFrameOptions']) ? $xoopsConfig['xFrameOptions'] : 'sameorigin' |
clickjack protection - Add option to HTTP header restricting using site in an iframe
Definition at line 153 of file common.php.
$xoops = Xoops::getInstance() |
Include XoopsLoad - this should have been done in mainfile.php, but there is no update yet, so only only new installs get the change in mainfile.dist.php automatically.
Temporarily try and fix, but set up a (delayed) warning
Create Instance of Xoops Object Attention, not all methods can be used at this point
Definition at line 26 of file common.php.
if ($xoops->getConfig('closesite')==1) $xoops_url = \XoopsBaseConfig::get('url') |
Closed Site Load Xoops Module
Definition at line 215 of file common.php.
$xoopsConfig =& $xoops->config |
Definition at line 130 of file common.php.
Referenced by Smarty_Resource_Db\dbTplInfo(), and Xmf\Template\Feed\init().
$xoopsDB = \XoopsDatabaseFactory::getDatabaseConnection(true) |
Definition at line 36 of file common.php.
Referenced by XoopsDatabaseManager\__construct(), Xmf\Database\Tables\__construct(), XoopsApi\getCategories(), Maintenance\Maintenance(), xoops_module_install_comments(), and xoops_module_install_notifications().
$xoopsLogger = $xoops->logger() |
Create Instance Xoops Object, the logger manager
Definition at line 68 of file common.php.
$xoopsModule =& $xoops->module |
Definition at line 264 of file common.php.
Referenced by Xmf\Module\Helper\GenericHelper\_initConfig(), and Xmf\Module\Helper\GenericHelper\_initObject().
$xoopsModuleConfig =& $xoops->moduleConfig |
Definition at line 266 of file common.php.
Referenced by Xmf\Module\Helper\GenericHelper\_initConfig().
$xoopsSecurity = $xoops->security() |
Definition at line 85 of file common.php.
$xoopsUser =& $xoops->user |
Definition at line 263 of file common.php.
$xoopsUserIsAdmin =& $xoops->userIsAdmin |
Definition at line 265 of file common.php.
$xoTheme = null |
Definition at line 262 of file common.php.
Referenced by Xmf\Metagen\assignDescription(), Xmf\Metagen\assignKeywords(), Xmf\Metagen\assignTitle(), and smarty_compiler_xoImgUrl().
defined ('DS') or define('DS' DIRECTORY_SEPARATOR |
YOU SHOULD NEVER USE THE FOLLOWING TO CONSTANTS, THEY WILL BE REMOVED
Definition at line 41 of file common.php.
Referenced by XoopsFormTinymce\__construct(), XoopsFormTinymce4\__construct(), Xoops\Core\Psr4ClassLoader\addNamespace(), is_really_writable(), Xmf\Loader\loadClass(), XoopsLoad\loadClass(), MyTextSanitizerExtension\loadConfig(), mod_getDirname(), rcopy(), rrename(), and XoopsMailer\setTemplateDir().
if (XoopsLoad::fileExists('./xoops_version.php')) else |
Check Proxy; Requires functions
Merge file and db configs.
Definition at line 94 of file common.php.
if(isset($delayedWarning)) |
temporary warning message Include Required Files not handled by autoload
Definition at line 116 of file common.php.
$xoops moduleDirname = 'system' |
Definition at line 216 of file common.php.
Referenced by Xoops\Module\Helper\HelperAbstract\isCurrentModule().
defined ('NWLINE') or define('NWLINE' n |
Definition at line 42 of file common.php.
$xoops option =& $GLOBALS['xoopsOption'] |
Definition at line 63 of file common.php.
Referenced by Xoops\footer(), Xoops\getOption(), Xoops\header(), imageLib\resizeImage(), and Xoops\setOption().