This is probably the second most ridiculous complaint I have yet seen. Ever heard of local scope? Seriously, do you have any idea what you're doing?
On Jun 27, 1:50 pm, MikeK <[EMAIL PROTECTED]> wrote: > I am working on a CMS that also uses phpBB. I punted on Rails after > their awful deployment issues and inability to get along with other > apps without rearchitecting them. I was happy with CakePHP until I > wrote the piece to integrate phpBB's session code with my pages. Turns > out both phpBB and CakePHP have a global var named $db. So collision > city and major breakage. > > No way am I going to go and change the name of such a key var > throughout phpBB -- it is used less in CakePHP but I am not tempted to > change it there either. I'd love to be able to get updates without > having to run a script to rename a high use global like $db. I have a > kludgy workaround for the moment but couldn't someone pick some decent > var names and anticipate that their code might be integrated into > something down the road? Geesh -- how about $cake_db? > > Flame OFF --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
