# |
Aug 9th 2008, 15:49 |
VolVE |
jaredhoyt: hmm, perhaps that was it... curiopus |
# |
Aug 9th 2008, 15:49 |
jaredhoyt |
*haven't |
# |
Aug 9th 2008, 15:49 |
jaredhoyt |
VolVE: you may be referring to Controller::flash() ... and i have "heard" people recommend using Session->setFlash() and session->flash() over Controller::flash() but have seen any deprecation plans documented |
# |
Aug 9th 2008, 15:47 |
TonkaTruck |
What might be a good way to detect the current prefix route prefix? I can think of a hackish way but all I see in Router:: is prefixes() which returns an array of existing prefixes regardless of which prefix is currently in use. |
# |
Aug 9th 2008, 15:37 |
mukesh |
The FileEngine is being used for caching. To change the config edit APP/config/core.php waht to edit here??? |
# |
Aug 9th 2008, 15:36 |
mukesh |
not able to install on wamp geting errors.. |
# |
Aug 9th 2008, 15:30 |
VolVE |
thanks :D |
# |
Aug 9th 2008, 15:30 |
VolVE |
well, ok then |
# |
Aug 9th 2008, 15:29 |
VolVE |
curious |
# |
Aug 9th 2008, 15:29 |
ADmad |
VolVE: you have the wrong impression... |
# |
Aug 9th 2008, 15:27 |
barduck |
AD7six: ok, that does work but only if you remember to put '...AS count' in the 'fields' :) |
# |
Aug 9th 2008, 15:27 |
VolVE |
I was under the impression that the flash() concept for user messages was totally redone in 1.2 ? |
# |
Aug 9th 2008, 15:26 |
markstory |
$session->flash() ? |
# |
Aug 9th 2008, 15:26 |
VolVE |
hey all, so what's the 1.2 version of $session->flash() ? |
# |
Aug 9th 2008, 15:21 |
markstory |
eaqua: so what happens when you upgrade you cake libs? |
# |
Aug 9th 2008, 15:21 |
eaqua |
AD7six: nah, in cake/libs, I don't think I have this in my app. |
# |
Aug 9th 2008, 15:20 |
AD7six |
eaqua: in your app I hope |
# |
Aug 9th 2008, 15:19 |
eaqua |
AD7six: thanks, changed model/datasources/dbo_source.php and it works now. |
# |
Aug 9th 2008, 15:17 |
jaredhoyt |
DrBacchus: hah, that's evil |
# |
Aug 9th 2008, 15:17 |
jaredhoyt |
i decided today i like spaces on each side of the . when concatenating |
# |
Aug 9th 2008, 15:17 |
DrBacchus |
Especially useful if you get paid by changed lines of code. |
# |
Aug 9th 2008, 15:17 |
markstory |
jaredhoyt: I do that too sometimes. when I have a slow day. |
# |
Aug 9th 2008, 15:17 |
jaredhoyt |
i think i have a little ocd -- everytime i decide on a new coding standard, i feel like i have to go back through all my code and change everything :D |
# |
Aug 9th 2008, 15:13 |
Martz |
once bitten, twice shy |
# |
Aug 9th 2008, 15:12 |
Howard`` |
yeah, they seem to be opening up the dev end or something lately, they have a lot of their resources you can access through quite extensive api's now |
# |
Aug 9th 2008, 15:12 |
AD7six |
eaqua: if changing to find is problematic (I don't really see how) look at the __call and call__ methods in model are implemented and overide in yoru app model. |
# |
Aug 9th 2008, 15:12 |
adj |
so i'm definitely a bit biased |
# |
Aug 9th 2008, 15:12 |
adj |
Howard``: maybe. i never looked back at it. i've had enough negative MS experiences that i don't really trust them anymore |
# |
Aug 9th 2008, 15:11 |
eaqua |
AD7six: hm, so it might be a switch from php4 to php5 on the shared hosting... |
# |
Aug 9th 2008, 15:11 |
AD7six |
dieselz: think about "why [his code -> a malicous user]... |
# |
Aug 9th 2008, 15:11 |
markstory |
dieselz: whitelist removes extra data that isn't supposed to be saved. |
# |
Aug 9th 2008, 15:11 |
Howard`` |
silverlight 2? adj I heard sl1 was horrible but sl2 is fairly new |
# |
Aug 9th 2008, 15:10 |
dieselz |
AD7six: ? |
# |
Aug 9th 2008, 15:10 |
AD7six |
dieselz: that /is/ the point of whitelist |
# |
Aug 9th 2008, 15:10 |
dieselz |
what is the point of whitelist... why add fields if they can't be saved? |
# |
Aug 9th 2008, 15:10 |
adj |
Howard``: ive read silverlight has been sucking in anything but IE |
# |
Aug 9th 2008, 15:10 |
AD7six |
eaqua: php4 is case insensitive |
# |
Aug 9th 2008, 15:10 |
eaqua |
AD7six: because I didn't know it's supposed to underscore caps and apparently mysql was case insensitive before and somehow findByCAPS just worked. |
# |
Aug 9th 2008, 15:09 |
AD7six |
jaredhoyt: that was my next suggestion |
# |
Aug 9th 2008, 15:09 |
jaredhoyt |
don't pay attention to me, i forgot about friggin whitelist |
# |
Aug 9th 2008, 15:09 |
AD7six |
eaqua: out of interest why did you write your whole app using a metod that is designed to underscore magic params - an an all caps db. |