fix favicon changes
This commit is contained in:
@@ -52,8 +52,12 @@ def create_app():
|
||||
return app.config["SYSTEM_NAME"]
|
||||
def get_pages_name():
|
||||
return app.config["PAGES_NAME"]
|
||||
def check_favicon():
|
||||
if os.path.isfile(os.path.join(app.config["STATIC_FOLDER"], "favicon.ico")):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
return dict(get_themes=get_themes, server_time=w_server_time, get_datetime_str=w_get_datetime_str, get_member=get_member, remove_html=remove_html, get_pages=get_pages, get_system_name=get_system_name, get_pages_name=get_pages_name)
|
||||
return dict(get_themes=get_themes, server_time=w_server_time, get_datetime_str=w_get_datetime_str, get_member=get_member, remove_html=remove_html, get_pages=get_pages, get_system_name=get_system_name, get_pages_name=get_pages_name, check_favicon=check_favicon)
|
||||
|
||||
return app
|
||||
|
||||
Reference in New Issue
Block a user