$wgAuth = new HttpAuthPlugin(); //After this line, control is not reachin the next line, not printin the next log.
error_log("JITEN TEST :WGAUTH object created, Value of wgAuth is :" . $wgAuth . "\n", 3, $logfile);
$wgHooks['UserLoadFromSession'][] = array($wgAuth,'autoAuthenticate');
error_log("JITEN TEST :Value of wgAuth is :" . $wgAuth . "\n", 3, $logfile);
在上述情況下,$wgAuth = new HttpAuthPlugin();
之後的代碼沒有得到執行。媒體維基php代碼中的錯誤
http://www.mediawiki.org/wiki/Extension:HttpAuth – Janmejay 2009-12-10 09:41:34