Whops... boostrap.php = bootstrap.php Just incase you were confused. lol
Nick On Mar 22, 9:21 pm, nurvzy <nur...@gmail.com> wrote: > Put it in app/config/boostrap.php > > You'll have access to it throughout your app. > Nick > > On Mar 22, 8:06 pm, xtraorange <xtraora...@gmail.com> wrote: > > > > > That's actually exactly what I was just thinking of doing, lol. > > Thanks! > > > The only thing I can't find... where am I supposed to place a function > > that I want available both on the control and view levels? > > > On Mar 22, 8:59 pm, Gonzalo Servat <gser...@gmail.com> wrote: > > > > On Tue, Mar 23, 2010 at 12:44 PM, xtraorange <xtraora...@gmail.com> wrote: > > > > Howdy all, > > > > > This should be a quick one: > > > > Is there any way, without editing the cake core (so that upgrades are > > > > easy), to switch the default behavior of __() from by default echoing, > > > > to by default returning? I find that 99% of the time, I don't want it > > > > to echo, and it's annoying to add the true parameter in there every > > > > single time. > > > > What about creating a new function like ___() that calls __() with the > > > true > > > parameter? > > > > Regards > > > Gonzalo Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.