In Cake 1.3 it was possible to set the webroot to something other than "app/webroot" when running a shell from the command line by specifying the -webroot argument option.
Doing this in cake 2.2.5 doesn't work, but it worked in 1.3:
$ ./Console/cake -webroot ../Sites asset_compress.asset_compress build_ini
I got it to work by adding "-webroot", and "--webroot" in the $keys array in the _parsePaths function in ShellDispatcher, but was wondering if there was another way to do this without modifying Cake's core libraries.
Did I miss something in the docs or should I file a bug report?
Thanks,
Eric
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment