Added files
This commit is contained in:
commit
4bfd948989
9 changed files with 557 additions and 0 deletions
17
__init__.py
Normal file
17
__init__.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
from flask import Blueprint, g
|
||||
from paramecio2.modules.admin.libraries.admin_auth import admin_prepare, admin_finished
|
||||
|
||||
php_app=Blueprint('php_app', __name__)
|
||||
|
||||
#@admin_app.before_request
|
||||
#def admin_prepare():
|
||||
|
||||
@php_app.before_request
|
||||
def admin_prepare_php():
|
||||
|
||||
return admin_prepare()
|
||||
|
||||
@php_app.after_request
|
||||
def admin_finished_php(response):
|
||||
|
||||
return admin_finished(response)
|
||||
Loading…
Add table
Add a link
Reference in a new issue