Fix that reports weren't respecting the config file
authorchriskl <chriskl>
Wed, 29 Jun 2005 04:16:54 +0000 (04:16 +0000)
committerchriskl <chriskl>
Wed, 29 Jun 2005 04:16:54 +0000 (04:16 +0000)
classes/Misc.php

index 71b4debe15a31ac62cded16da08db6198f498d07..88c3f41d14a93144cdfb0735c204bec90ee57585 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.102 2005/06/16 14:40:11 chriskl Exp $
+        * $Id: Misc.php,v 1.103 2005/06/29 04:16:54 chriskl Exp $
         */
         
        class Misc {
                                                        'title' => $lang['strreports'],
                                                        'url'   => 'reports.php',
                                                        'urlvars' => array('subject' => 'server'),
+                                                       'hide' => !$conf['show_reports']
                                                ),
                                        );