Dummy out tracking code
This commit is contained in:
parent
8a7cf66248
commit
e485725b4c
|
@ -190,6 +190,6 @@ blueprints =
|
||||||
rophako.modules.comment
|
rophako.modules.comment
|
||||||
rophako.modules.emoticons
|
rophako.modules.emoticons
|
||||||
rophako.modules.contact
|
rophako.modules.contact
|
||||||
rophako.modules.tracking
|
# rophako.modules.tracking
|
||||||
|
|
||||||
custom =
|
custom =
|
||||||
|
|
|
@ -31,7 +31,7 @@ Config.load_plugins()
|
||||||
from rophako import __version__
|
from rophako import __version__
|
||||||
from rophako.plugin import load_plugin
|
from rophako.plugin import load_plugin
|
||||||
from rophako.log import logger
|
from rophako.log import logger
|
||||||
import rophako.model.tracking as Tracking
|
#import rophako.model.tracking as Tracking
|
||||||
import rophako.utils
|
import rophako.utils
|
||||||
|
|
||||||
app.DEBUG = Config.site.debug == "true"
|
app.DEBUG = Config.site.debug == "true"
|
||||||
|
@ -85,7 +85,7 @@ def before_request():
|
||||||
"name": "Guest",
|
"name": "Guest",
|
||||||
"role": "user",
|
"role": "user",
|
||||||
},
|
},
|
||||||
"tracking": Tracking.track_visit(request, session),
|
#"tracking": Tracking.track_visit(request, session),
|
||||||
}
|
}
|
||||||
|
|
||||||
# Default session vars.
|
# Default session vars.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user