Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]Kola[/eluser]
Is there a particular reason for the following functions, not to be merged?

message();
set_message();
error();
set_error();

I managed to cook it down to 2 functions, 1 which takes the message, message type and the delimiter position (1,2) and then 1 function which selects the correct delimiter based on the type of message.

But I could be wrong, there might be some clever reason it's devided Smile

Edit: which would be awesome to know as I'm coding a message feature into a core class of a site, rather than just the authentication system ^.-


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 07-10-2010, 02:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB