mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 23:36:11 +01:00
feature: allow enforce disk limit via packages
This commit is contained in:
@@ -342,7 +342,7 @@ class FileManager:
|
|||||||
|
|
||||||
if skipTrash:
|
if skipTrash:
|
||||||
command = 'rm -rf ' + self.returnPathEnclosed(self.data['path'] + '/' + item)
|
command = 'rm -rf ' + self.returnPathEnclosed(self.data['path'] + '/' + item)
|
||||||
ProcessUtilities.outputExecutioner(command, website.externalApp)
|
ProcessUtilities.executioner(command, website.externalApp)
|
||||||
else:
|
else:
|
||||||
trashPath = '%s/.trash' % (self.homePath)
|
trashPath = '%s/.trash' % (self.homePath)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user