added: plugins_dir to config
small changes in makefiles git-svn-id: svn://ttmath.org/publicrep/winix/trunk@643 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -49,7 +49,7 @@ void signal_term(int)
|
||||
void print_syntax()
|
||||
{
|
||||
std::cout << "Syntax:" << std::endl;
|
||||
std::cout << " cmslu.fcgi config_file" << std::endl;
|
||||
std::cout << " winix config_file" << std::endl;
|
||||
}
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ int main(int argv, char ** argc)
|
||||
|
||||
// load plugins before loading sessions - session_manager.LoadSessions()
|
||||
// because some of the plugins can init its own sessions dates
|
||||
plugin.LoadPlugins(app.config.plugin_file);
|
||||
plugin.LoadPlugins(app.config.plugins_dir, app.config.plugin_file);
|
||||
|
||||
if( !app.Init() )
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user