summaryrefslogtreecommitdiff
path: root/print.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2007-07-06 16:22:14 +0000
committerChristian Fowler <spider@viovio.com>2007-07-06 16:22:14 +0000
commitd3463938685950b16d2cf6ce93d0fd1d8c1da3fb (patch)
treea39a4d5a5f1b923ea12106c3d76fc8e547c86b57 /print.php
parent89a8c6defda32eac1e5b8aa63e73bb36da0df77e (diff)
downloadwiki-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.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/print.php b/print.php
index 1d3f89c..cb2d9f1 100644
--- a/print.php
+++ b/print.php
@@ -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;