NOISSUE PHP 버전 호환성 개선

This commit is contained in:
khongchi 2013-12-17 20:51:00 +09:00
parent dc41e3c4a3
commit efa5ec4c0c
6 changed files with 9 additions and 6 deletions

View file

@ -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));