diff --git a/baseTemplate/views.py b/baseTemplate/views.py index e293bf359..60494ba00 100755 --- a/baseTemplate/views.py +++ b/baseTemplate/views.py @@ -19,7 +19,7 @@ from plogical.processUtilities import ProcessUtilities # Create your views here. VERSION = '2.0' -BUILD = 0 +BUILD = 1 @ensure_csrf_cookie def renderBase(request): diff --git a/install/install.py b/install/install.py index cf6663b32..73ac7e387 100755 --- a/install/install.py +++ b/install/install.py @@ -15,7 +15,7 @@ from stat import * import stat VERSION = '2.0' -BUILD = 0 +BUILD = 1 char_set = {'small': 'abcdefghijklmnopqrstuvwxyz', 'nums': '0123456789', diff --git a/loginSystem/views.py b/loginSystem/views.py index a12262af4..21b8d7e47 100644 --- a/loginSystem/views.py +++ b/loginSystem/views.py @@ -19,7 +19,7 @@ from django.utils import translation # Create your views here. VERSION = '2.0' -BUILD = 0 +BUILD = 1 def verifyLogin(request): try: diff --git a/plogical/adminPass.py b/plogical/adminPass.py index fc45d27d4..653e3039a 100755 --- a/plogical/adminPass.py +++ b/plogical/adminPass.py @@ -13,7 +13,7 @@ from packages.models import Package from baseTemplate.models import version VERSION = '2.0' -BUILD = 0 +BUILD = 1 if not os.geteuid() == 0: sys.exit("\nOnly root can run this script\n") diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 71c0326c1..64653f606 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -14,7 +14,7 @@ import random import string VERSION = '2.0' -BUILD = 0 +BUILD = 1 class Upgrade: logPath = "/usr/local/lscp/logs/upgradeLog" diff --git a/plogical/vhost.py b/plogical/vhost.py index a1d0457b1..8d8eef190 100755 --- a/plogical/vhost.py +++ b/plogical/vhost.py @@ -857,7 +857,7 @@ class vhost: cmd = shlex.split(command) subprocess.call(cmd, stdout=FNULL, stderr=subprocess.STDOUT) - command = "chmod 755 %s" % (path) + command = "chmod 750 %s" % (path) cmd = shlex.split(command) subprocess.call(cmd, stdout=FNULL, stderr=subprocess.STDOUT) diff --git a/websiteFunctions/templates/websiteFunctions/website.html b/websiteFunctions/templates/websiteFunctions/website.html index cf06c807e..8363ce89a 100755 --- a/websiteFunctions/templates/websiteFunctions/website.html +++ b/websiteFunctions/templates/websiteFunctions/website.html @@ -303,7 +303,7 @@
- +
diff --git a/websiteFunctions/website.py b/websiteFunctions/website.py index 0b1f89663..9a6703db5 100755 --- a/websiteFunctions/website.py +++ b/websiteFunctions/website.py @@ -285,9 +285,9 @@ class WebsiteManager: if len(path) > 0: path = path.lstrip("/") - path = "/home/" + masterDomain + "/public_html/" + path + path = "/home/" + masterDomain + "/" + path else: - path = "/home/" + masterDomain + "/public_html/" + domain + path = "/home/" + masterDomain + "/" + domain try: apacheBackend = str(data['apacheBackend'])