21 lines
710 B
Python
21 lines
710 B
Python
|
|
# coding: utf-8
|
||
|
|
# +-------------------------------------------------------------------
|
||
|
|
# | YakPanel
|
||
|
|
# +-------------------------------------------------------------------
|
||
|
|
# | Copyright (c) 2015-2099 YakPanel(www.yakpanel.com) All rights reserved.
|
||
|
|
# +-------------------------------------------------------------------
|
||
|
|
# | Author: hwliang <hwl@yakpanel.com>
|
||
|
|
# +-------------------------------------------------------------------
|
||
|
|
|
||
|
|
# --------------------------------
|
||
|
|
# 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()
|