wa0x6e / Cake-Resque

Resque plugin for CakePHP : for creating background jobs that can be processed offline later
MIT License
159 stars 56 forks source link

using APP constant for dir name #87

Open vlad-ko opened 9 years ago

vlad-ko commented 9 years ago

in bootstrap.php it's possible to specify alternate path for plugin installation (especially when installed via composer)... if one uses App::build() for this purpose as described here: http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#adding-paths-for-app-to-find-packages-in

the root folder won't be determined correctly. using "APP" constant is safer.

Techbrunch commented 8 years ago

@wa0x6e Could you merge this pull request ? I have the exact same problem as @vlad-ko and his commit fixed it. Not sure what's the difference with #79. This would also fix #97.