|
@@ 290-294 (lines=5) @@
|
| 287 |
|
return new Object(-1,'msg_ftp_mkdir_fail'); |
| 288 |
|
} |
| 289 |
|
|
| 290 |
|
if(!$oFtp->ftp_site("CHMOD 777 ".$ftp_info->ftp_root_path.'files')) |
| 291 |
|
{ |
| 292 |
|
$oFtp->ftp_quit(); |
| 293 |
|
return new Object(-1,'msg_ftp_chmod_fail'); |
| 294 |
|
} |
| 295 |
|
|
| 296 |
|
if(!is_dir(_XE_PATH_.'files/config') && !$oFtp->ftp_mkdir($ftp_info->ftp_root_path.'files/config')) |
| 297 |
|
{ |
|
@@ 302-306 (lines=5) @@
|
| 299 |
|
return new Object(-1,'msg_ftp_mkdir_fail'); |
| 300 |
|
} |
| 301 |
|
|
| 302 |
|
if(!$oFtp->ftp_site("CHMOD 777 ".$ftp_info->ftp_root_path.'files/config')) |
| 303 |
|
{ |
| 304 |
|
$oFtp->ftp_quit(); |
| 305 |
|
return new Object(-1,'msg_ftp_chmod_fail'); |
| 306 |
|
} |
| 307 |
|
|
| 308 |
|
$oFtp->ftp_quit(); |
| 309 |
|
} |