Skip to content
Permalink
Browse files

bug fix: cagefs disable

  • Loading branch information...
usmannasir committed Sep 14, 2019
1 parent 60007ba commit 9a78d85e2f65af7b433b28d33a472368a1aeb0eb
Showing with 14 additions and 2 deletions.
  1. +12 −0 plogical/vhost.py
  2. +2 −2 static/websiteFunctions/websiteFunctions.css
@@ -325,6 +325,12 @@ def deleteVirtualHostConfigurations(virtualHostName):
vhost.deleteCoreConf(virtualHostName, numberOfSites)

delWebsite = Websites.objects.get(domain=virtualHostName)

## Cagefs

command = '/usr/sbin/cagefsctl --disable %s' % (delWebsite.externalApp)
ProcessUtilities.normalExecutioner(command)

databases = Databases.objects.filter(website=delWebsite)

childDomains = delWebsite.childdomains_set.all()
@@ -361,6 +367,12 @@ def deleteVirtualHostConfigurations(virtualHostName):
vhost.deleteCoreConf(virtualHostName, numberOfSites)

delWebsite = Websites.objects.get(domain=virtualHostName)

## Cagefs

command = '/usr/sbin/cagefsctl --disable %s' % (delWebsite.externalApp)
ProcessUtilities.normalExecutioner(command)

databases = Databases.objects.filter(website=delWebsite)

childDomains = delWebsite.childdomains_set.all()
@@ -100,10 +100,10 @@
/*span.h4 {
white-space: nowrap;
}*/
.panel-body {
/*.panel-body {
white-space: nowrap;
}

*/
.bg-gradient-9 {
background: #0daeff; /* Old browsers */
background: -moz-linear-gradient(-45deg, #0daeff 0%,#3939ad 30%); /* FF3.6-15 */

0 comments on commit 9a78d85

Please sign in to comment.
You can’t perform that action at this time.