bug fix: cagefs disable

This commit is contained in:
Usman Nasir
2019-09-14 11:51:44 +05:00
parent 60007ba654
commit 9a78d85e2f
2 changed files with 14 additions and 2 deletions

View File

@@ -325,6 +325,12 @@ class vhost:
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 @@ class vhost:
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()

4
static/websiteFunctions/websiteFunctions.css Executable file → Normal file
View File

@@ -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 */