|
@@ -4,7 +4,6 @@ import os
|
4
|
4
|
from lodel.lodelsites.utils import register_lodelsites
|
5
|
5
|
from lodel.utils.ini_files import ini_to_dict
|
6
|
6
|
from lodel.session.lodel_filesystem_session.lodel_filesystem_session_interface import LodelFileSystemSessionInterface
|
7
|
|
-from lodel.session.lodel_ram_session.lodel_ram_session_interface import LodelRamSessionInterface
|
8
|
7
|
|
9
|
8
|
|
10
|
9
|
lodel_app = Flask(__name__)
|
|
@@ -14,7 +13,7 @@ lodel_app.config.update(ini_to_dict(os.path.join(os.path.dirname(os.path.abspath
|
14
|
13
|
|
15
|
14
|
lodel_app.session_cookie_name = lodel_app.config['lodel.sessions']['session_cookie_name']
|
16
|
15
|
lodel_app.permanent_session_lifetime = int(lodel_app.config['lodel.sessions']['session_lifetime'])
|
17
|
|
-lodel_app.session_interface = LodelRamSessionInterface() # LodelFileSystemSessionInterface(lodel_app.config['lodel.filesystem_sessions']['path'])
|
|
16
|
+lodel_app.session_interface = LodelFileSystemSessionInterface(lodel_app.config['lodel.filesystem_sessions']['path'])
|
18
|
17
|
|
19
|
18
|
# Main Hooks
|
20
|
19
|
from .hooks import *
|