3
Kg                 @   s  d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
Z
d dlmZ d dlmZ d dlZd d	lmZ eeZejje eeZeeeZe	eZd
e_eeZejsxejd rdZdZeejd ejd fejd ejd deedZeje
j ejj e ej!j"ds(ej#d eddddZ$e$j%e
j&d e$je
j' ejj e$ ejje
j' ejj(d d dlm)Z)m*Z* dS )    )Flask)Config)
SQLAlchemy)Migrate)LoginManagerN)SMTPHandler)RotatingFileHandler)MailloginZMAIL_SERVERZ	MAIL_PORTZMAIL_SENDERZADMINSzErrore app Macaddresses)ZmailhostZfromaddrZtoaddrssubjectcredentialssecurez	/tmp/logsz/tmp/logs/macadd.logi (  
   )ZmaxBytesZbackupCountzC%(asctime)s %(levelname)s: %(message)s [in %(pathname)s:%(lineno)d]zApplicazione avviata)routesmodels)+Zflaskr   configr   Zflask_sqlalchemyr   Zflask_migrater   Zflask_loginr   loggingZlogging.handlersr   r   osZ
flask_mailr	   __name__appfrom_objectdbZmigrater
   Z
login_viewZmaildebugauthr   Zmail_handlersetLevelERRORlogger
addHandlerpathexistsmkdirZfile_handlersetFormatter	FormatterINFOinfor   r    r%   r%   "/data/www/html/LML/app/__init__.py<module>   sL   



