diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-08 21:09:38 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-08 21:09:38 +0000 |
| commit | 1b10821603fa52a593c7a70aea2322937b265a6d (patch) | |
| tree | 14c504d2abea9ab2aa7ce19d46db34f41404203f | |
| parent | ddbe562f9c3bc646fb85da0a0252eff711d050bb (diff) | |
mistake in last commit
| -rw-r--r-- | inc/mod/pages.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 4f876b45..3ab52870 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1208,8 +1208,8 @@ function mod_move($originBoard, $postID) { if ($post['has_file']) { // copy image - copy($post['file_src'], sprintf($config['board_path'], $board['uri']) . $config['dir']['img'] . $post['file']); - copy($post['file_thumb'], sprintf($config['board_path'], $board['uri']) . $config['dir']['thumb'] . $post['thumb']); + $clone($post['file_src'], sprintf($config['board_path'], $board['uri']) . $config['dir']['img'] . $post['file']); + $clone($post['file_thumb'], sprintf($config['board_path'], $board['uri']) . $config['dir']['thumb'] . $post['thumb']); } foreach ($post['tracked_cites'] as $cite) { |
