lajax / yii2-translate-manager

Translation Manager
MIT License
227 stars 90 forks source link

scan in wrong base path #42

Closed kupika closed 8 years ago

kupika commented 8 years ago

it scans one level higher than defined. in configuration is defined as root "@app". The path should i.e. /var/www/myapp but i get /var/www. The Problem is line 204 in the following file:

/services/scanners/ScannerFile.php

wrong: return dirname(Yii::getAlias($this->module->root));

correct: return Yii::getAlias($this->module->root);

moltam commented 8 years ago

Known issue, see #12

One good workaround in the current version is to set @web as 'root'.

kupika commented 8 years ago

Thank you.