I have a master-script that runs for every site I make, and it has a standard
set of functions, but sometimes I would want to override that function for a
particular site, but if I redefine it for that site, PHP will complain about
overriding functions. Since that's a good warning, I wouldn't want to remove
it, but I would want to "undefine" a function before defining it again.
like: function_undefi ne("drawbox");
Or something like that.
Anyone got any suggestions?
--
Sandman[.net]
set of functions, but sometimes I would want to override that function for a
particular site, but if I redefine it for that site, PHP will complain about
overriding functions. Since that's a good warning, I wouldn't want to remove
it, but I would want to "undefine" a function before defining it again.
like: function_undefi ne("drawbox");
Or something like that.
Anyone got any suggestions?
--
Sandman[.net]
Comment