mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 16:56:09 +01:00
bug fix: cagefs disable
This commit is contained in:
@@ -325,6 +325,12 @@ class vhost:
|
|||||||
vhost.deleteCoreConf(virtualHostName, numberOfSites)
|
vhost.deleteCoreConf(virtualHostName, numberOfSites)
|
||||||
|
|
||||||
delWebsite = Websites.objects.get(domain=virtualHostName)
|
delWebsite = Websites.objects.get(domain=virtualHostName)
|
||||||
|
|
||||||
|
## Cagefs
|
||||||
|
|
||||||
|
command = '/usr/sbin/cagefsctl --disable %s' % (delWebsite.externalApp)
|
||||||
|
ProcessUtilities.normalExecutioner(command)
|
||||||
|
|
||||||
databases = Databases.objects.filter(website=delWebsite)
|
databases = Databases.objects.filter(website=delWebsite)
|
||||||
|
|
||||||
childDomains = delWebsite.childdomains_set.all()
|
childDomains = delWebsite.childdomains_set.all()
|
||||||
@@ -361,6 +367,12 @@ class vhost:
|
|||||||
vhost.deleteCoreConf(virtualHostName, numberOfSites)
|
vhost.deleteCoreConf(virtualHostName, numberOfSites)
|
||||||
|
|
||||||
delWebsite = Websites.objects.get(domain=virtualHostName)
|
delWebsite = Websites.objects.get(domain=virtualHostName)
|
||||||
|
|
||||||
|
## Cagefs
|
||||||
|
|
||||||
|
command = '/usr/sbin/cagefsctl --disable %s' % (delWebsite.externalApp)
|
||||||
|
ProcessUtilities.normalExecutioner(command)
|
||||||
|
|
||||||
databases = Databases.objects.filter(website=delWebsite)
|
databases = Databases.objects.filter(website=delWebsite)
|
||||||
|
|
||||||
childDomains = delWebsite.childdomains_set.all()
|
childDomains = delWebsite.childdomains_set.all()
|
||||||
|
|||||||
4
static/websiteFunctions/websiteFunctions.css
Executable file → Normal file
4
static/websiteFunctions/websiteFunctions.css
Executable file → Normal file
@@ -100,10 +100,10 @@
|
|||||||
/*span.h4 {
|
/*span.h4 {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}*/
|
}*/
|
||||||
.panel-body {
|
/*.panel-body {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
.bg-gradient-9 {
|
.bg-gradient-9 {
|
||||||
background: #0daeff; /* Old browsers */
|
background: #0daeff; /* Old browsers */
|
||||||
background: -moz-linear-gradient(-45deg, #0daeff 0%,#3939ad 30%); /* FF3.6-15 */
|
background: -moz-linear-gradient(-45deg, #0daeff 0%,#3939ad 30%); /* FF3.6-15 */
|
||||||
|
|||||||
Reference in New Issue
Block a user