markstory/asset_compress — Issue #86: Plugin can't work when "webroot" folder don't in "app" folder.
Author: meotimdihia
Created: 2012-01-04 17:32:24+00:00
State: open

With this structure:
/cakephp
/app
/webroot
Plugin can't work because , plugin only support 2 constants is : APP and WWW_ROOT
```php
public $constantMap = array(
'APP/' => APP,
'WEBROOT/' => WWW_ROOT
);
```
but in lib/Cake/Console/ShellDispatcher.php
```php
define('APP', $this->params['working'] .
define('WWW_ROOT', APP . $this->params['webroot'] . DS);
```
WWW_ROOT always in APP.
------------
If you support new constant 'ROOT/'=>ROOT then plugin can work in this case .