diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-11 20:50:56 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-11 20:50:56 +0200 |
commit | dbb3cae7f15512b04e8a17d4f44fd5b3531a2b51 (patch) | |
tree | 5fe01d0e88c4da94d6daebfd30ddae496ecc686c /src | |
parent | adcbc6f259e01a08a816d4020b1c6f7a25129154 (diff) | |
download | crawler-dbb3cae7f15512b04e8a17d4f44fd5b3531a2b51.tar.gz crawler-dbb3cae7f15512b04e8a17d4f44fd5b3531a2b51.tar.bz2 |
reading boolean recursive module path search in crawler
Diffstat (limited to 'src')
-rwxr-xr-x | src/crawl/crawl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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<string> normalizerModules; #ifndef _WIN32 |