diff options
| author | Christian Fowler <spider@viovio.com> | 2007-07-06 16:22:14 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-07-06 16:22:14 +0000 |
| commit | d3463938685950b16d2cf6ce93d0fd1d8c1da3fb (patch) | |
| tree | a39a4d5a5f1b923ea12106c3d76fc8e547c86b57 /print.php | |
| parent | 89a8c6defda32eac1e5b8aa63e73bb36da0df77e (diff) | |
| download | wiki-d3463938685950b16d2cf6ce93d0fd1d8c1da3fb.tar.gz wiki-d3463938685950b16d2cf6ce93d0fd1d8c1da3fb.tar.bz2 wiki-d3463938685950b16d2cf6ce93d0fd1d8c1da3fb.zip | |
move to gContent perm functions so assigned content permissions work properly
Diffstat (limited to 'print.php')
| -rw-r--r-- | print.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/print.php,v 1.19 2007/07/06 15:43:23 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/print.php,v 1.20 2007/07/06 16:22:14 spiderr Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: print.php,v 1.19 2007/07/06 15:43:23 squareing Exp $ + * $Id: print.php,v 1.20 2007/07/06 16:22:14 spiderr Exp $ * @package wiki * @subpackage functions */ @@ -20,7 +20,7 @@ require_once( '../bit_setup_inc.php' ); include_once( WIKI_PKG_PATH.'BitPage.php'); $gBitSystem->verifyPackage( 'wiki' ); -$gBitSystem->verifyPermission( 'p_wiki_view_page' ); +$gContent->verifyPermission( 'p_wiki_view_page' ); // If the page doesn't exist then display an error $requirePage = TRUE; |
