$path = Yii::import(Yii::getPathOfAlias('application.modules.file.components'));
return Upload::getUploadPath();
If I copy $path into the console and do ls -a $path, the file "Upload.php" shows up correctly. "sudo chown dispy:www-data myproject -R" should solve everything related to permissions.
What’s messing it up here?
Thanks in advance!
EDIT: SOLVED: it must be .* at the end. Can somebody remove this topic? It will not help anybody but congest the forum