version change

This commit is contained in:
usmannasir
2024-11-24 14:54:22 +05:00
parent aecb42026f
commit 68832c4820
8 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ class CLMain():
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.3' self.version = '2.3'
self.build = '8' self.build = '9'
ipFile = "/etc/cyberpanel/machineIP" ipFile = "/etc/cyberpanel/machineIP"
f = open(ipFile) f = open(ipFile)

View File

@@ -21,7 +21,7 @@ from plogical.httpProc import httpProc
# Create your views here. # Create your views here.
VERSION = '2.3' VERSION = '2.3'
BUILD = 8 BUILD = 9
@ensure_csrf_cookie @ensure_csrf_cookie

View File

@@ -15,7 +15,7 @@ from stat import *
import stat import stat
VERSION = '2.3' VERSION = '2.3'
BUILD = 8 BUILD = 9
char_set = {'small': 'abcdefghijklmnopqrstuvwxyz', 'nums': '0123456789', 'big': 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'} char_set = {'small': 'abcdefghijklmnopqrstuvwxyz', 'nums': '0123456789', 'big': 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'}

View File

@@ -17,7 +17,7 @@ from django.utils import translation
# Create your views here. # Create your views here.
VERSION = '2.3' VERSION = '2.3'
BUILD = 8 BUILD = 9
def verifyLogin(request): def verifyLogin(request):

View File

@@ -13,7 +13,7 @@ from packages.models import Package
from baseTemplate.models import version from baseTemplate.models import version
VERSION = '2.3' VERSION = '2.3'
BUILD = 8 BUILD = 9
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

@@ -54,7 +54,7 @@ except:
pass pass
VERSION = '2.3' VERSION = '2.3'
BUILD = 8 BUILD = 9
## I am not the monster that you think I am.. ## I am not the monster that you think I am..

View File

@@ -18,7 +18,7 @@ import random
import string import string
VERSION = '2.3' VERSION = '2.3'
BUILD = 8 BUILD = 9
CENTOS7 = 0 CENTOS7 = 0
CENTOS8 = 1 CENTOS8 = 1

View File

@@ -26,7 +26,7 @@ EXPIRE = 3
### Version ### Version
VERSION = '2.3' VERSION = '2.3'
BUILD = 8 BUILD = 9
def serverStatusHome(request): def serverStatusHome(request):