Index: ../phase3-work/maintenance/findhooks.php =================================================================== --- ../phase3-work/maintenance/findhooks.php (revision 30827) +++ ../phase3-work/maintenance/findhooks.php (working copy) @@ -23,12 +23,8 @@ # GLOBALS $doc = $IP . '/docs/hooks.txt'; -$pathinc = $IP . '/includes/'; -$pathfile = $IP . '/includes/filerepo/LocalFile.php'; -$pathlang = $IP . '/languages/Language.php'; -$pathskin = $IP . '/skins/MonoBook.php'; +$pathinc = array( $IP.'/includes/', $IP.'/includes/api/', $IP.'/includes/filerepo/', $IP.'/languages/', $IP.'/maintenance/', $IP.'/skins/' ); - # FUNCTIONS /** @@ -82,7 +78,11 @@ $m = array(); # We want to skip the "function wfRunHooks()" one. :) preg_match_all( '/(?