Index: trunk/extensions/Configure/scripts/findSettings.php |
— | — | @@ -99,12 +99,12 @@ |
100 | 100 | 'qp_enable_showresults', |
101 | 101 | ); |
102 | 102 | foreach ( $exts as $ext ) { |
| 103 | + $name = $ext->getName(); |
103 | 104 | if( !$ext->isInstalled() ) { |
104 | 105 | $this->output( "Extension $name is not installed\n" ); |
105 | 106 | continue; |
106 | 107 | } |
107 | 108 | $file = file_get_contents( $ext->getSettingsFile() ); |
108 | | - $name = $ext->getName(); |
109 | 109 | $m = array(); |
110 | 110 | preg_match_all( '/\$((wg|eg|edg|sdg|sfg|smwg|srfg|abc|ce[^n]|ub|whoiswatching|wminc)[A-Za-z0-9_]+)\s*\=/', $file, $m ); |
111 | 111 | $definedSettings = array_unique( $m[1] ); |