https://bugzilla.wikimedia.org/show_bug.cgi?id=46006

--- Comment #3 from T. Gries <[email protected]> ---
(In reply to comment #1)
> You should only use things like $wgExtensionAssetsPath *after* basic
> initialziation, or it probably won't be set yet. Use it at general runtime --
> when using something -- or from an initialization function.
> 
> (Same really goes for $wgScriptPath as it can be customized, though usually
> the
> autodetected value will already be set correctly.)

mid-air...

what would you suggest ?

One working method is to parse the _url_ of the running file (here: OpenID.php
) directly from the $_SERVER[], strip-off the basename to get the Web-path ---
but this is ugly, isn't it ?Ireally wish to have a method for that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to