mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-15 20:09:58 +00:00
Revert r27175: always initialise globals; prevent register_globals exploits.
This commit is contained in:
parent
9e875e7584
commit
5ec542b685
|
@ -49,12 +49,8 @@ $wgCategoryTreeUnifiedView = true;
|
|||
$wgCategoryTreeOmitNamespace = false;
|
||||
$wgCategoryTreeMaxDepth = array(CT_MODE_PAGES => 1, CT_MODE_ALL => 1, CT_MODE_CATEGORIES => 2);
|
||||
$wgCategoryTreeExtPath = '/extensions/CategoryTree';
|
||||
if ( ! isset( $wgCategoryTreeDefaultMode ) ) {
|
||||
$wgCategoryTreeDefaultMode = CT_MODE_CATEGORIES;
|
||||
}
|
||||
if ( ! isset( $wgCategoryTreeCategoryPageMode ) ) {
|
||||
$wgCategoryTreeCategoryPageMode = CT_MODE_CATEGORIES;
|
||||
}
|
||||
$wgCategoryTreeDefaultMode = CT_MODE_CATEGORIES;
|
||||
$wgCategoryTreeCategoryPageMode = CT_MODE_CATEGORIES;
|
||||
$wgCategoryTreeVersion = '1';
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue