BUG#1402 Make link color of tab subject page link on talk page indicate whether artic...
[lhc/web/wiklou.git] / includes / SpecialDebug.php
index 9bac259..cc82c0a 100644 (file)
@@ -1,13 +1,19 @@
 <?php
-
-function wfSpecialDebug()
-{
+/**
+ * Let developpers receive the full phpinfo output
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
+/**
+ *
+ */
+function wfSpecialDebug() {
        global $wgUser, $wgOut;
 
-       if ( ! $wgUser->isDeveloper() ) {
+       if ( ! $wgUser->isAllowed('siteadmin') ) {
                $wgOut->developerRequired();
                return;
        }
        phpinfo();
 }
-