# coding: utf-8 # +------------------------------------------------------------------- # | YakPanel # +------------------------------------------------------------------- # | Copyright (c) 2015-2099 YakPanel(www.yakpanel.com) All rights reserved. # +------------------------------------------------------------------- # | Author: hwliang # +------------------------------------------------------------------- # -------------------------------- # YakPanel 公共库 # -------------------------------- from .common import * from .exceptions import * def is_bind(): # if not os.path.exists('{}/data/bind.pl'.format(get_panel_path())): return True return not not get_user_info()