version number change

This commit is contained in:
usmannasir
2025-05-19 16:25:03 +05:00
parent 7127e47552
commit a53bded439
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.4' self.version = '2.4'
self.build = '0' self.build = '1'
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.4' VERSION = '2.4'
BUILD = 0 BUILD = 1
@ensure_csrf_cookie @ensure_csrf_cookie

View File

@@ -16,7 +16,7 @@ import stat
import secrets import secrets
VERSION = '2.4' VERSION = '2.4'
BUILD = 0 BUILD = 1
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.4' VERSION = '2.4'
BUILD = 0 BUILD = 1
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.4' VERSION = '2.4'
BUILD = 0 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

@@ -54,7 +54,7 @@ except:
pass pass
VERSION = '2.4' VERSION = '2.4'
BUILD = 0 BUILD = 1
## 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.4' VERSION = '2.4'
BUILD = 0 BUILD = 1
CENTOS7 = 0 CENTOS7 = 0
CENTOS8 = 1 CENTOS8 = 1

View File

@@ -26,7 +26,7 @@ EXPIRE = 3
### Version ### Version
VERSION = '2.4' VERSION = '2.4'
BUILD = 0 BUILD = 1
def serverStatusHome(request): def serverStatusHome(request):