mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-12 23:12:13 +09:00
issue 2948, changed variable definition to __XE__
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12730 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c3647b3f99
commit
1379f68c92
21 changed files with 35 additions and 35 deletions
|
|
@ -234,7 +234,7 @@ class installController extends install
|
|||
if(!$ftp_info->ftp_host) $ftp_info->ftp_host = '127.0.0.1';
|
||||
if(!$ftp_info->ftp_root_path) $ftp_info->ftp_root_path = '/';
|
||||
|
||||
$buff = '<?php if(!defined("__ZBXE__")) exit();'."\n";
|
||||
$buff = '<?php if(!defined("__XE__")) exit();'."\n";
|
||||
foreach($ftp_info as $key => $val)
|
||||
{
|
||||
$buff .= sprintf("\$ftp_info->%s = '%s';\n", $key, str_replace("'","\\'",$val));
|
||||
|
|
@ -507,7 +507,7 @@ class installController extends install
|
|||
|
||||
function _getDBConfigFileContents($db_info)
|
||||
{
|
||||
$buff = '<?php if(!defined("__ZBXE__")) exit();'."\n";
|
||||
$buff = '<?php if(!defined("__XE__")) exit();'."\n";
|
||||
$db_info = get_object_vars($db_info);
|
||||
foreach($db_info as $key => $val)
|
||||
{
|
||||
|
|
@ -553,7 +553,7 @@ class installController extends install
|
|||
{
|
||||
$etc_tmp_config_file = $this->etc_tmp_config_file;
|
||||
|
||||
$buff = '<?php if(!defined("__ZBXE__")) exit();'."\n";
|
||||
$buff = '<?php if(!defined("__XE__")) exit();'."\n";
|
||||
foreach($config_info as $key => $val)
|
||||
{
|
||||
$buff .= sprintf("\$db_info->%s = '%s';\n", $key, str_replace("'","\\'",$val));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue