diff options
| author | spiderr <spider@viovio.com> | 2011-07-06 00:29:44 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2011-07-06 00:29:44 -0400 |
| commit | 3ac5b591b68d08d2f4e28f4c3ab7aefb1ba436e6 (patch) | |
| tree | a8c606b50bf4b6314489841064b807a743beba1f | |
| parent | fa551eeb80a593dc9d2f385d733e8a1872216fa0 (diff) | |
| download | wiki-3ac5b591b68d08d2f4e28f4c3ab7aefb1ba436e6.tar.gz wiki-3ac5b591b68d08d2f4e28f4c3ab7aefb1ba436e6.tar.bz2 wiki-3ac5b591b68d08d2f4e28f4c3ab7aefb1ba436e6.zip | |
try to fix print to silence errors
| -rw-r--r-- | print.php | 7 | ||||
| -rw-r--r-- | templates/print.tpl | 2 |
2 files changed, 4 insertions, 5 deletions
@@ -14,15 +14,14 @@ * required setup */ require_once( '../kernel/setup_inc.php' ); -include_once( WIKI_PKG_PATH.'BitPage.php'); - $gBitSystem->verifyPackage( 'wiki' ); -$gContent->verifyViewPermission(); -// If the page doesn't exist then display an error $requirePage = TRUE; include( WIKI_PKG_PATH.'lookup_page_inc.php' ); +// If the page doesn't exist then display an error +$gContent->verifyViewPermission(); + // Check if we have to perform an action for this page // for example lock/unlock if (isset($_REQUEST["action"])) { diff --git a/templates/print.tpl b/templates/print.tpl index e058d21..833fe30 100644 --- a/templates/print.tpl +++ b/templates/print.tpl @@ -1,7 +1,7 @@ {include file="bitpackage:kernel/header.tpl"} <div id="bitprint"> - {include file=$mid} + {include file="bitpackage:wiki/center_wiki_page.tpl"} </div> {include file="bitpackage:kernel/footer.tpl"} |
