From dbb3cae7f15512b04e8a17d4f44fd5b3531a2b51 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 11 Oct 2014 20:50:56 +0200 Subject: reading boolean recursive module path search in crawler --- src/crawl/crawl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/crawl/crawl.cpp b/src/crawl/crawl.cpp index 5070c39..3e5239c 100755 --- a/src/crawl/crawl.cpp +++ b/src/crawl/crawl.cpp @@ -93,7 +93,9 @@ int main( int /* argc */, char *argv[] ) // go through all type of modules and load them with the proper loader string modulePath = luaVm.getString( "crawler.module_path" ); - LOG( logNOTICE ) << "Loading modules from path '" << modulePath << "'"; + bool modulesSearchRecursive = luaVm.getBoolean( "crawler.modules_search_recursive" ); + LOG( logNOTICE ) << "Loading modules from path '" << modulePath << "'" + << ( modulesSearchRecursive ? "(recursive)" : "" ); vector normalizerModules; #ifndef _WIN32 -- cgit v1.2.3-54-g00ecf