bug fix: make sure free scan works

This commit is contained in:
usmannasir
2025-06-27 00:31:47 +05:00
parent f41d075c6d
commit 2065f41699
12 changed files with 34 additions and 22 deletions

View File

@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
from .views import VERSION, BUILD
def version_context(request):
"""Add version information to all templates"""
return {
'CYBERPANEL_VERSION': VERSION,
'CYBERPANEL_BUILD': BUILD,
'CYBERPANEL_FULL_VERSION': f"{VERSION}.{BUILD}"
}