lajax / yii2-translate-manager

Translation Manager
MIT License
227 stars 90 forks source link

Added option to specify whether scan the parent directory of the root, or the root directory itself. #73

Closed moltam closed 8 years ago

moltam commented 8 years ago

I tried to create a fix for the infamous parent directory scanning (mentioned in #12 first).

I added an option called scanRootParentDirectory to the module. With this, it is possible to specify scanning the root directory instead of the parent of the root directory. The default behaviour hasn't changed, this ensures backward compatibility.

I described this in the readme, I hope this make things clear for anyone.

I also added a trace entry to make easier debugging the scanned directories.

lajax commented 8 years ago

Thanks!