update build numbers

This commit is contained in:
Usman Nasir
2021-03-08 11:10:48 +05:00
parent ae32836325
commit ced6a2b8e8
8 changed files with 16 additions and 16 deletions

View File

@@ -4,8 +4,8 @@ class CLMain():
def __init__(self): def __init__(self):
self.path = '/usr/local/CyberCP/version.txt' self.path = '/usr/local/CyberCP/version.txt'
#versionInfo = json.loads(open(self.path, 'r').read()) #versionInfo = json.loads(open(self.path, 'r').read())
self.version = '2.0' self.version = '2.1'
self.build = '3' self.build = '1'
ipFile = "/etc/cyberpanel/machineIP" ipFile = "/etc/cyberpanel/machineIP"
f = open(ipFile) f = open(ipFile)

View File

@@ -17,8 +17,8 @@ from plogical.processUtilities import ProcessUtilities
from plogical.httpProc import httpProc from plogical.httpProc import httpProc
# Create your views here. # Create your views here.
VERSION = '2.0' VERSION = '2.1'
BUILD = 3 BUILD = 1
@ensure_csrf_cookie @ensure_csrf_cookie
def renderBase(request): def renderBase(request):

View File

@@ -14,8 +14,8 @@ from os.path import *
from stat import * from stat import *
import stat import stat
VERSION = '2.0' VERSION = '2.1'
BUILD = 3 BUILD = 1
char_set = {'small': 'abcdefghijklmnopqrstuvwxyz', char_set = {'small': 'abcdefghijklmnopqrstuvwxyz',
'nums': '0123456789', 'nums': '0123456789',

View File

@@ -18,8 +18,8 @@ from django.http import HttpResponse
from django.utils import translation from django.utils import translation
# Create your views here. # Create your views here.
VERSION = '2.0' VERSION = '2.1'
BUILD = 3 BUILD = 1
def verifyLogin(request): def verifyLogin(request):
try: try:

View File

@@ -12,8 +12,8 @@ from plogical.acl import ACLManager
from packages.models import Package from packages.models import Package
from baseTemplate.models import version from baseTemplate.models import version
VERSION = '2.0' VERSION = '2.1'
BUILD = 3 BUILD = 1
if not os.geteuid() == 0: if not os.geteuid() == 0:
sys.exit("\nOnly root can run this script\n") sys.exit("\nOnly root can run this script\n")

View File

@@ -48,8 +48,8 @@ try:
except: except:
pass pass
VERSION = '2.0' VERSION = '2.1'
BUILD = 3 BUILD = 1
## I am not the monster that you think I am.. ## I am not the monster that you think I am..

View File

@@ -14,8 +14,8 @@ from CyberCP import settings
import random import random
import string import string
VERSION = '2.0' VERSION = '2.1'
BUILD = 3 BUILD = 1
CENTOS7 = 0 CENTOS7 = 0
CENTOS8 = 1 CENTOS8 = 1

View File

@@ -25,8 +25,8 @@ EXPIRE = 3
### Version ### Version
VERSION = '2.0' VERSION = '2.1'
BUILD = 3 BUILD = 1
def serverStatusHome(request): def serverStatusHome(request):
proc = httpProc(request, 'serverStatus/index.html', proc = httpProc(request, 'serverStatus/index.html',