mirror of
				https://github.com/usmannasir/cyberpanel.git
				synced 2025-10-31 10:26:01 +01:00 
			
		
		
		
	v2.4.4 release
This commit is contained in:
		| @@ -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 = '3' |         self.build = '4' | ||||||
|  |  | ||||||
|         ipFile = "/etc/cyberpanel/machineIP" |         ipFile = "/etc/cyberpanel/machineIP" | ||||||
|         f = open(ipFile) |         f = open(ipFile) | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| {% load i18n %} | {% load i18n %} | ||||||
| {% get_current_language as LANGUAGE_CODE %} | {% get_current_language as LANGUAGE_CODE %} | ||||||
| {% with CP_VERSION="2.4.3.1" %} | {% with CP_VERSION="2.4.4.1" %} | ||||||
| <!DOCTYPE html> | <!DOCTYPE html> | ||||||
| <html lang="en" ng-app="CyberCP"> | <html lang="en" ng-app="CyberCP"> | ||||||
| <head> | <head> | ||||||
|   | |||||||
| @@ -29,7 +29,7 @@ import pwd | |||||||
| # Create your views here. | # Create your views here. | ||||||
|  |  | ||||||
| VERSION = '2.4' | VERSION = '2.4' | ||||||
| BUILD = 3 | BUILD = 4 | ||||||
|  |  | ||||||
|  |  | ||||||
| @ensure_csrf_cookie | @ensure_csrf_cookie | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ import secrets | |||||||
| import install_utils | import install_utils | ||||||
|  |  | ||||||
| VERSION = '2.4' | VERSION = '2.4' | ||||||
| BUILD = 3 | BUILD = 4 | ||||||
|  |  | ||||||
| # Using shared char_set from install_utils | # Using shared char_set from install_utils | ||||||
| char_set = install_utils.char_set | char_set = install_utils.char_set | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ from django.utils import translation | |||||||
| # Create your views here. | # Create your views here. | ||||||
|  |  | ||||||
| VERSION = '2.4' | VERSION = '2.4' | ||||||
| BUILD = 3 | BUILD = 4 | ||||||
|  |  | ||||||
|  |  | ||||||
| def verifyLogin(request): | def verifyLogin(request): | ||||||
|   | |||||||
| @@ -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 = 3 | BUILD = 4 | ||||||
|  |  | ||||||
| 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") | ||||||
|   | |||||||
| @@ -54,7 +54,7 @@ except: | |||||||
|     pass |     pass | ||||||
|  |  | ||||||
| VERSION = '2.4' | VERSION = '2.4' | ||||||
| BUILD = 3 | BUILD = 4 | ||||||
|  |  | ||||||
|  |  | ||||||
| ## I am not the monster that you think I am.. | ## I am not the monster that you think I am.. | ||||||
|   | |||||||
| @@ -291,7 +291,7 @@ except ImportError: | |||||||
|     print("Recovery complete. Continuing with upgrade...") |     print("Recovery complete. Continuing with upgrade...") | ||||||
|  |  | ||||||
| VERSION = '2.4' | VERSION = '2.4' | ||||||
| BUILD = 3 | BUILD = 4 | ||||||
|  |  | ||||||
| CENTOS7 = 0 | CENTOS7 = 0 | ||||||
| CENTOS8 = 1 | CENTOS8 = 1 | ||||||
|   | |||||||
| @@ -26,7 +26,7 @@ EXPIRE = 3 | |||||||
| ### Version | ### Version | ||||||
|  |  | ||||||
| VERSION = '2.4' | VERSION = '2.4' | ||||||
| BUILD = 3 | BUILD = 4 | ||||||
|  |  | ||||||
|  |  | ||||||
| def serverStatusHome(request): | def serverStatusHome(request): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user