mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-12-15 21:09:42 +01:00
Implement ImunifyAV asset management and routing
- Added a static method to ensure ImunifyAV assets are created and permissions set correctly in CageFS.py. - Updated the URL routing in urls.py to include paths for ImunifyAV, supporting both legacy and new routes. - Modified the ImunifyAV HTML template to use Django's URL template tag for better maintainability. - Enhanced the cyberpanel_fixes.sh script to ensure ImunifyAV UI assets are installed during fixes. - Improved database user resolution and password handling in mysqlUtilities.py for better security and reliability. This update enhances the integration and management of ImunifyAV within the CyberPanel environment.
This commit is contained in:
@@ -15,10 +15,13 @@ Including another URLconf
|
||||
"""
|
||||
from django.urls import path, re_path, include
|
||||
from django.contrib import admin
|
||||
from firewall import views as firewall_views
|
||||
|
||||
urlpatterns = [
|
||||
path('base/', include('baseTemplate.urls')),
|
||||
path('', include('loginSystem.urls')),
|
||||
path('imunifyav/', firewall_views.imunifyAV, name='imunifyav_root'),
|
||||
path('ImunifyAV/', firewall_views.imunifyAV, name='imunifyav_root_legacy'),
|
||||
path('packages/', include('packages.urls')),
|
||||
path('websites/', include('websiteFunctions.urls')),
|
||||
path('tuning/', include('tuning.urls')),
|
||||
|
||||
Reference in New Issue
Block a user