mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +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
|
|
@ -185,7 +185,7 @@ class installAdminController extends install
|
|||
$ftp_info->ftp_password = Context::get('ftp_password');
|
||||
}
|
||||
|
||||
$buff = '<?php if(!defined("__ZBXE__")) exit();'."\n";
|
||||
$buff = '<?php if(!defined("__XE__")) exit();'."\n";
|
||||
foreach($ftp_info as $key => $val)
|
||||
{
|
||||
if(!$val) continue;
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ $oDocumentModel = &getModel('document');
|
|||
$oDocumentController = &getController('document');
|
||||
|
||||
$obj->module_srl = $module_srl;
|
||||
Context::set('version', __ZBXE_VERSION__);
|
||||
Context::set('version', __XE_VERSION__);
|
||||
$obj->title = 'Welcome XE';
|
||||
|
||||
$obj->content = $oTemplateHandler->compile('./modules/install/script/welcome_content', 'welcome_content_'.$lang);
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<div cond="!$isDisable">
|
||||
<p>
|
||||
<i class="x_icon-ok-sign x_icon-white"></i>
|
||||
<strong>XE {__ZBXE_VERSION__}</strong> {$lang->install_condition_enable}
|
||||
<strong>XE {__XE_VERSION__}</strong> {$lang->install_condition_enable}
|
||||
<a href="#details" data-toggle>› {$lang->install_details}</a>
|
||||
</p>
|
||||
<ul id="details" style="display:none;outline:none">
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
<div class="x">
|
||||
<div id="header">
|
||||
<h1><img src="img/xe.gif" width="163" height="26" alt="Xpress Engine" /></h1>
|
||||
<em>Version <strong>{__ZBXE_VERSION__}</strong> {$lang->introduce_title}</em>
|
||||
<em>Version <strong>{__XE_VERSION__}</strong> {$lang->introduce_title}</em>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue