|
@@ 2724-2727 (lines=4) @@
|
| 2721 |
|
if (isset($package_ftp)) |
| 2722 |
|
$ftp_file = strtr($filename, array($_SESSION['pack_ftp']['root'] => '')); |
| 2723 |
|
|
| 2724 |
|
if (!file_exists($filename) && isset($package_ftp)) |
| 2725 |
|
$package_ftp->create_file($ftp_file); |
| 2726 |
|
elseif (!file_exists($filename)) |
| 2727 |
|
@touch($filename); |
| 2728 |
|
|
| 2729 |
|
package_chmod($filename); |
| 2730 |
|
|
|
@@ 2778-2781 (lines=4) @@
|
| 2775 |
|
if (isset($package_ftp)) |
| 2776 |
|
$ftp_file = strtr($filename, array($_SESSION['pack_ftp']['root'] => '')); |
| 2777 |
|
|
| 2778 |
|
if (!file_exists($filename) && isset($package_ftp)) |
| 2779 |
|
$package_ftp->create_file($ftp_file); |
| 2780 |
|
elseif (!file_exists($filename)) |
| 2781 |
|
@touch($filename); |
| 2782 |
|
|
| 2783 |
|
$result = package_chmod($filename); |
| 2784 |
|
|