Skip to content

Commit 552847e

Browse files
committed
implement system->move
1 parent 33ab748 commit 552847e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/lib/classes/system.inc.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,10 @@ function copy($file1, $file2) {
934934
return copy($file1, $file2);
935935
}
936936

937+
function move($file1, $file2) {
938+
return rename($file1, $file2);
939+
}
940+
937941
function touch($file, $allow_symlink = false){
938942
global $app;
939943
if($allow_symlink == false && @file_exists($file) && $this->checkpath($file) == false) {

0 commit comments

Comments
 (0)