Maybe I'm missing something, but it could that the answer to your problem is
to add the following line before you set the variable:
global $wgGlobalVar;
-Yaron
On Sun, Mar 16, 2008 at 6:53 PM, Simetrical <Simetrical+wikilist(a)gmail.com>
wrote:
On Sun, Mar 16, 2008 at 6:15 PM,
<65s.mg(a)atlas.cz> wrote:
Hello. I tried many hooks, but I cannot find any,
with which I can use
for overwriting variale, that is defined in the
LocalSettings.php. Any
suggestions? Thanks. -MGrabovsky
There is no hook specifically for this purpose. There doesn't need to
be: the variables are globals. You can set them from any hook you
want. Just make sure the hook executes early enough that it's before
the global is used elsewhere.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l