mirror of
https://github.com/Codiad/Codiad.git
synced 2026-03-06 01:13:59 +01:00
fixes copy function
This commit is contained in:
@@ -79,7 +79,11 @@ class Filemanager extends Common {
|
||||
// Duplicate
|
||||
if(!empty($get['destination'])){
|
||||
$get['destination'] = Filemanager::cleanPath( $get['destination'] );
|
||||
$this->destination = $this->root . $get['destination'];
|
||||
if($this->isAbsPath($get['path'])) {
|
||||
$this->destination = $get['destination'];
|
||||
} else {
|
||||
$this->destination = $this->root . $get['destination'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user