30 define(
'INSTALL_USER',
'');
31 define(
'INSTALL_PASSWORD',
'');
32 define(
'XOOPS_INSTALL', 1);
33 define(
'XOOPS_INSTALL_PATH', dirname(__DIR__));
36 if (
false === date_default_timezone_set(@date_default_timezone_get())) {
37 date_default_timezone_set(
'UTC');
43 $mainfile = dirname(dirname(__DIR__)) .
'/mainfile.php';
47 if (!defined(
"XOOPS_ROOT_PATH")) {
48 define(
"XOOPS_ROOT_PATH", str_replace(
"\\",
"/", realpath(
'../')));
49 define(
"XOOPS_PATH", isset(
$_SESSION[
'settings'][
'PATH']) ?
$_SESSION[
'settings'][
'PATH']:
"");
50 define(
"XOOPS_VAR_PATH", isset($_SESSION[
'settings'][
'VAR_PATH']) ? $_SESSION[
'settings'][
'VAR_PATH']:
"");
51 define(
"XOOPS_URL", isset($_SESSION[
'settings'][
'URL']) ? $_SESSION[
'settings'][
'URL']:
"");
55 include_once XOOPS_ROOT_PATH .
'/include/version.php';
57 include_once XOOPS_ROOT_PATH .
'/include/defines.php';
59 if (!class_exists(
'XoopsBaseConfig',
false)) {
60 include_once XOOPS_ROOT_PATH .
'/class/XoopsBaseConfig.php';
if(!class_exists('XoopsBaseConfig', false)) $_SESSION['pageHasHelp']
static bootstrapTransition()
if(false===date_default_timezone_set(@date_default_timezone_get())) if(empty($xoopsOption['hascommon'])) $mainfile