Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

$baseDir when installed via composer #13

Open
peterhough opened this issue Sep 10, 2015 · 1 comment
Open

$baseDir when installed via composer #13

peterhough opened this issue Sep 10, 2015 · 1 comment

Comments

@peterhough
Copy link
Contributor

When the plugin is installed via composer the m.php file fails because the $baseDir is incorrect.

$baseDir is being calculated as '/var/www/mywebsite/vendor/fooman/speedster' it should actually be '/var/www/mywebsite/shop'.

The 'shop' directory is set as 'magento-root-dir' in composer.

@klipach
Copy link

klipach commented Jan 4, 2016

I've faced with same problem while installing fooman/speedster and my theme via composer. The problem looks more complex then just fix $baseDir. I tried to fix $baseDir but then i also need to fix $realDocRoot. After that i need to set different $realDocRoot for links to real files and to linked files. For me the easiest solution was to install fooman/speedsteradvanced

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants