2022-03-16 11:06:52 +07:00
|
|
|
import os
|
|
|
|
|
2023-11-04 19:12:11 +07:00
|
|
|
page = {
|
|
|
|
'public' :'page/public' ,
|
|
|
|
'error' :'page/error' # Non-template
|
|
|
|
}
|
2023-11-04 19:35:15 +07:00
|
|
|
|
2022-03-16 11:06:52 +07:00
|
|
|
dirconfig = {
|
|
|
|
'/' :
|
|
|
|
{
|
|
|
|
'tools.sessions.on' : True ,
|
|
|
|
'tools.staticdir.root' : os.path.abspath(os.getcwd()) ,
|
|
|
|
},
|
|
|
|
'/lib' :
|
|
|
|
{
|
|
|
|
'tools.staticdir.on' : True ,
|
|
|
|
'tools.staticdir.dir' : './static/lib' ,
|
|
|
|
},
|
|
|
|
'/css' :
|
|
|
|
{
|
|
|
|
'tools.staticdir.on' : True ,
|
|
|
|
'tools.staticdir.dir' : './static/css' ,
|
|
|
|
},
|
|
|
|
}
|