Ashley Sheridan wrote:
I think the point is that the code is relying on overriding the
constants, so that wouldn't help at all. I think the best thing would be
to re-write the code, constants are never meant to be treated like that,
it's entirely the opposite of what a constant is.
I've 45 lang
On Sat, 2012-08-25 at 15:17 -0400, Matt Neimeyer wrote:
> Can you just switch the order?
>
> Instead of...
>
>define("SOME_CONSTANT","Generic Value");
>define("SOME_CONSTANT","Override Value");
>
> Why not do...
>
>define("SOME_CONSTANT","Override Value");
>if(!defined("SOME_CO
Can you just switch the order?
Instead of...
define("SOME_CONSTANT","Generic Value");
define("SOME_CONSTANT","Override Value");
Why not do...
define("SOME_CONSTANT","Override Value");
if(!defined("SOME_CONSTANT")) { define("SOME_CONSTANT","Generic Value"); }
This should avoid any r
Op 25 aug. 2012 21:03 schreef "Adam Richardson" het
volgende:
>
> On Sat, Aug 25, 2012 at 2:27 PM, Lester Caine wrote:
> > What I was not expecting was a string of 'Notices:' complaining about
the
> > redefines. So how does one get around this message? One can't 'if
defined'
> > as the string nee
On Sat, Aug 25, 2012 at 2:27 PM, Lester Caine wrote:
> What I was not expecting was a string of 'Notices:' complaining about the
> redefines. So how does one get around this message? One can't 'if defined'
> as the string needs to be replaced with the more appropriate one. I would
> say, why is th
5 matches
Mail list logo