Skip to content

Commit 9a78d85

Browse files
committed
bug fix: cagefs disable
1 parent 60007ba commit 9a78d85

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

plogical/vhost.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,12 @@ def deleteVirtualHostConfigurations(virtualHostName):
325325
vhost.deleteCoreConf(virtualHostName, numberOfSites)
326326

327327
delWebsite = Websites.objects.get(domain=virtualHostName)
328+
329+
## Cagefs
330+
331+
command = '/usr/sbin/cagefsctl --disable %s' % (delWebsite.externalApp)
332+
ProcessUtilities.normalExecutioner(command)
333+
328334
databases = Databases.objects.filter(website=delWebsite)
329335

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

363369
delWebsite = Websites.objects.get(domain=virtualHostName)
370+
371+
## Cagefs
372+
373+
command = '/usr/sbin/cagefsctl --disable %s' % (delWebsite.externalApp)
374+
ProcessUtilities.normalExecutioner(command)
375+
364376
databases = Databases.objects.filter(website=delWebsite)
365377

366378
childDomains = delWebsite.childdomains_set.all()

static/websiteFunctions/websiteFunctions.css

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@
100100
/*span.h4 {
101101
white-space: nowrap;
102102
}*/
103-
.panel-body {
103+
/*.panel-body {
104104
white-space: nowrap;
105105
}
106-
106+
*/
107107
.bg-gradient-9 {
108108
background: #0daeff; /* Old browsers */
109109
background: -moz-linear-gradient(-45deg, #0daeff 0%,#3939ad 30%); /* FF3.6-15 */

0 commit comments

Comments
 (0)