Current File : //opt/cloudlinux/venv/usr/bin/cpapirebuildcache |
#!/opt/cloudlinux/venv/bin/python3 -bb
# -*- coding: utf-8 -*-
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2018 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT
"""
Check with custom plug-ins directory, and try to use these plugins.
Detection control panel and record the panel name to file /var/cache/controlpanelname
"""
from clcommon.cpapi import pluginlib
pluginlib.rebuild_cache()