mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 14:26:16 +01:00
bug fix: CP-26
This commit is contained in:
@@ -641,7 +641,7 @@ class FileManager:
|
|||||||
return self.ajaxPre(0, 'Not allowed to move in this path, please choose location inside home!')
|
return self.ajaxPre(0, 'Not allowed to move in this path, please choose location inside home!')
|
||||||
|
|
||||||
command = 'cp ' + self.returnPathEnclosed(
|
command = 'cp ' + self.returnPathEnclosed(
|
||||||
'/home/cyberpanel/media/' + RanddomFileName) + ' ' + self.returnPathEnclosed(
|
UploadPath + RanddomFileName) + ' ' + self.returnPathEnclosed(
|
||||||
self.data['completePath'] + '/' + myfile.name)
|
self.data['completePath'] + '/' + myfile.name)
|
||||||
ProcessUtilities.executioner(command, website.externalApp)
|
ProcessUtilities.executioner(command, website.externalApp)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user