mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-10-26 00:36:34 +02:00
v2.4.4 release
This commit is contained in:
@@ -5,7 +5,7 @@ class CLMain():
|
||||
self.path = '/usr/local/CyberCP/version.txt'
|
||||
#versionInfo = json.loads(open(self.path, 'r').read())
|
||||
self.version = '2.4'
|
||||
self.build = '3'
|
||||
self.build = '4'
|
||||
|
||||
ipFile = "/etc/cyberpanel/machineIP"
|
||||
f = open(ipFile)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% load i18n %}
|
||||
{% get_current_language as LANGUAGE_CODE %}
|
||||
{% with CP_VERSION="2.4.3.1" %}
|
||||
{% with CP_VERSION="2.4.4.1" %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" ng-app="CyberCP">
|
||||
<head>
|
||||
|
||||
@@ -29,7 +29,7 @@ import pwd
|
||||
# Create your views here.
|
||||
|
||||
VERSION = '2.4'
|
||||
BUILD = 3
|
||||
BUILD = 4
|
||||
|
||||
|
||||
@ensure_csrf_cookie
|
||||
|
||||
@@ -17,7 +17,7 @@ import secrets
|
||||
import install_utils
|
||||
|
||||
VERSION = '2.4'
|
||||
BUILD = 3
|
||||
BUILD = 4
|
||||
|
||||
# Using shared char_set from install_utils
|
||||
char_set = install_utils.char_set
|
||||
|
||||
@@ -17,7 +17,7 @@ from django.utils import translation
|
||||
# Create your views here.
|
||||
|
||||
VERSION = '2.4'
|
||||
BUILD = 3
|
||||
BUILD = 4
|
||||
|
||||
|
||||
def verifyLogin(request):
|
||||
|
||||
@@ -13,7 +13,7 @@ from packages.models import Package
|
||||
from baseTemplate.models import version
|
||||
|
||||
VERSION = '2.4'
|
||||
BUILD = 3
|
||||
BUILD = 4
|
||||
|
||||
if not os.geteuid() == 0:
|
||||
sys.exit("\nOnly root can run this script\n")
|
||||
|
||||
@@ -54,7 +54,7 @@ except:
|
||||
pass
|
||||
|
||||
VERSION = '2.4'
|
||||
BUILD = 3
|
||||
BUILD = 4
|
||||
|
||||
|
||||
## I am not the monster that you think I am..
|
||||
|
||||
@@ -291,7 +291,7 @@ except ImportError:
|
||||
print("Recovery complete. Continuing with upgrade...")
|
||||
|
||||
VERSION = '2.4'
|
||||
BUILD = 3
|
||||
BUILD = 4
|
||||
|
||||
CENTOS7 = 0
|
||||
CENTOS8 = 1
|
||||
|
||||
@@ -26,7 +26,7 @@ EXPIRE = 3
|
||||
### Version
|
||||
|
||||
VERSION = '2.4'
|
||||
BUILD = 3
|
||||
BUILD = 4
|
||||
|
||||
|
||||
def serverStatusHome(request):
|
||||
|
||||
Reference in New Issue
Block a user