Load config class after it got pluginned
This commit is contained in:
parent
7153982981
commit
797abdea80
1 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,13 @@ from Plugin import PluginManager
|
||||||
import ContentDbPlugin
|
import ContentDbPlugin
|
||||||
|
|
||||||
|
|
||||||
|
# We can only import plugin host clases after the plugins are loaded
|
||||||
|
@PluginManager.afterLoad
|
||||||
|
def importPluginnedClasses():
|
||||||
|
global config
|
||||||
|
from Config import config
|
||||||
|
|
||||||
|
|
||||||
def processAccessLog():
|
def processAccessLog():
|
||||||
if access_log:
|
if access_log:
|
||||||
content_db = ContentDbPlugin.content_db
|
content_db = ContentDbPlugin.content_db
|
||||||
|
|
Loading…
Reference in a new issue