mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 19:02:14 +09:00
#19790379 agreement form added
before install, session handeler not use db git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8405 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ae259db337
commit
2cca2a7913
17 changed files with 150 additions and 16 deletions
|
|
@ -22,6 +22,26 @@
|
|||
$this->etc_tmp_config_file = _XE_PATH_.'files/config/tmpEtc.config.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief LGPL, Enviroment gathering agreement
|
||||
**/
|
||||
function procInstallAgreement()
|
||||
{
|
||||
$requestVars = Context::gets('lgpl_agree', 'enviroment_gather');
|
||||
|
||||
/*$buff = '<?php if(!defined("__ZBXE__")) exit();'."\n";
|
||||
$buff .= sprintf("\$agreement->%s = '%s';\n", 'lgpl_agree', $requestVars->lgpl_agree);
|
||||
$buff .= sprintf("\$agreement->%s = '%s';\n", 'enviroment_gather', $requestVars->enviroment_gather);
|
||||
$buff .= "?>";
|
||||
|
||||
$this->db_tmp_config_file = _XE_PATH_.'files/config/tmpDB.config.php';
|
||||
FileHandler::writeFile(_XE_PATH_.'files/config/agreement', $buff);*/
|
||||
$_SESSION['lgpl_agree'] = $requestVars->lgpl_agree;
|
||||
$_SESSION['enviroment_gather'] = $requestVars->enviroment_gather;
|
||||
|
||||
return new Object(0, 'success');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief division install step... DB Config temp file create
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue