We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 49a081d + a108ce4 commit 6477cf6Copy full SHA for 6477cf6
server/lib/classes/system.inc.php
@@ -934,6 +934,13 @@ function copy($file1, $file2) {
934
return copy($file1, $file2);
935
}
936
937
+ function move($file1, $file2) {
938
+ $cmd = 'mv ? ?';
939
+ $this->exec_safe($cmd, $file1, $file2);
940
+ $return_var = $this->last_exec_retcode();
941
+ return $return_var == 0 ? true : false;
942
+ }
943
+
944
function touch($file, $allow_symlink = false){
945
global $app;
946
if($allow_symlink == false && @file_exists($file) && $this->checkpath($file) == false) {
0 commit comments