Revert "Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions."
authorAndrew Garrett <werdna@users.mediawiki.org>
Sun, 30 Nov 2008 03:15:22 +0000 (03:15 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Sun, 30 Nov 2008 03:15:22 +0000 (03:15 +0000)
commit55acc4e981d9ae6cc00ae48306ac6a78bce66085
tree8e883294c9f25b00eb7a46d0f7b03836012a73e1
parent10f78a6edd89724422e141d660124413af9700e0
Revert "Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions."

Uses $dir in extension files, and assumes that it remains unchanged in require_once( 'maintenance/commandLine.inc' ).
In fact, it is likely that '$dir' will be set when setting up command-line, as some extensions will use the same var.

Recommended fix: Use $CentralAuth_dir, $EmailPage_dir, etc.
FancyCaptcha.php