mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
NOISSUE PHP 버전 호환성 개선
This commit is contained in:
parent
dc41e3c4a3
commit
efa5ec4c0c
6 changed files with 9 additions and 6 deletions
|
|
@ -240,6 +240,7 @@ class installController extends install
|
|||
if(!$ftp_info->ftp_root_path) $ftp_info->ftp_root_path = '/';
|
||||
|
||||
$buff = array('<?php if(!defined("__XE__")) exit();');
|
||||
$buff[] = "\$ftp_info = new stdClass();";
|
||||
foreach($ftp_info as $key => $val)
|
||||
{
|
||||
$buff[] = sprintf("\$ftp_info->%s='%s';", $key, str_replace("'","\\'",$val));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue