added: setting a correct mime type for static files - using magic library
added: std::wstring file_mime_type to ItemContent - a mime type for static file added: Header (core/header.h) - there will be header names defined, at the moment only content_type added: FuncionsBase::Finish() - it is called at the end when the winix finishes
This commit is contained in:
@@ -286,6 +286,15 @@ void Functions::InitFunctions()
|
||||
}
|
||||
|
||||
|
||||
void Functions::FinishFunctions()
|
||||
{
|
||||
Table::iterator i = table.begin();
|
||||
|
||||
for( ; i!=table.end() ; ++i)
|
||||
i->second->Finish();
|
||||
}
|
||||
|
||||
|
||||
void Functions::Init()
|
||||
{
|
||||
CreateFunctions();
|
||||
@@ -293,6 +302,12 @@ void Functions::Init()
|
||||
}
|
||||
|
||||
|
||||
void Functions::Finish()
|
||||
{
|
||||
FinishFunctions();
|
||||
}
|
||||
|
||||
|
||||
void Functions::Parse()
|
||||
{
|
||||
function_parser.Parse(cur, db, this, system);
|
||||
|
Reference in New Issue
Block a user