Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scan in wrong base path #42

Closed
kupika opened this issue Nov 22, 2015 · 2 comments
Closed

scan in wrong base path #42

kupika opened this issue Nov 22, 2015 · 2 comments

Comments

@kupika
Copy link

kupika commented Nov 22, 2015

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
Copy link
Collaborator

moltam commented Nov 22, 2015

Known issue, see #12

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

@kupika
Copy link
Author

kupika commented Nov 22, 2015

Thank you.

@kupika kupika closed this as completed Nov 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants