Phan/local-config.php: Difference between revisions
No edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
This example purposely ignores all 'core' MediaWiki for analysis, and adds a long list of extensions for analysis. | This example purposely ignores all 'core' MediaWiki for analysis, and adds a long list of extensions for analysis. | ||
{{ | {{Collapsible | ||
|visible_text=This is a sample 'local' configuration for Phan | |visible_text=This is a sample 'local' configuration for Phan | ||
|collapsed_content= | |collapsed_content= | ||
<syntaxhighlight lang="php" line="1"> | <syntaxhighlight lang="php" line="1"> | ||
<?php | |||
// DO analyze every extension | // DO analyze every extension | ||
$cfg['directory_list'] = array_merge( | $cfg['directory_list'] = array_merge( | ||
| Line 87: | Line 89: | ||
## To get a picture of the full configuration, just print it and exit. | ## To get a picture of the full configuration, just print it and exit. | ||
# print_r( $cfg ); exit(); | # print_r( $cfg ); exit(); | ||
</syntaxhighlight> | |||
}} | }} | ||