https://bugzilla.wikimedia.org/show_bug.cgi?id=20112
--- Comment #6 from Dan Nessett <[email protected]> 2009-08-11 00:02:36 UTC --- Poking around for another purpose, I have found another file that defines $IP - maintanence/Command.inc. It seems to me this is only looking for trouble. If there is some reason why require_once('LocalSettings.php') will cause problems in this file and WebStart.php, then LocalSettings.php should be broken into two parts: 1) LocalSettingsCore.php and LocalSettingsNonCore.php (I am sure someone can come up with better names than these). LocalSettingsCore.php should contain definitions that any core MW php file can tolerate, such as the definition of $IP. LocalSettingsNoneCore.php should contain those definitions that may cause problems with one or more core MW files. Any or all core MW files can then require LocalSettingsCore.php. I will post this proposal to wikitech. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
