equal
deleted
inserted
replaced
38 global $db, $session, $paths, $template, $plugins; // Common objects |
38 global $db, $session, $paths, $template, $plugins; // Common objects |
39 global $lang; |
39 global $lang; |
40 global $output; |
40 global $output; |
41 |
41 |
42 // FIXME: This doesn't currently prohibit viewing of aggregate logs that might include a page for which |
42 // FIXME: This doesn't currently prohibit viewing of aggregate logs that might include a page for which |
43 // |
43 // we don't have permission to view history. It does, however, block access if a list of pages is given |
|
44 // and one of those doesn't allow history_view. |
44 |
45 |
45 // FIXME: This is a real hack. We're trying to get permissions on a random non-existent article, which |
46 // FIXME: This is a real hack. We're trying to get permissions on a random non-existent article, which |
46 // effectively forces calculation to occur based on site-wide permissions. |
47 // effectively forces calculation to occur based on site-wide permissions. |
47 $pid = ''; |
48 $pid = ''; |
48 for ( $i = 0; $i < 32; $i++ ) |
49 for ( $i = 0; $i < 32; $i++ ) |