summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorTekimaki <tekimaki_admin@users.sourceforge.net>2009-02-21 17:29:55 +0000
committerTekimaki <tekimaki_admin@users.sourceforge.net>2009-02-21 17:29:55 +0000
commit7626010ce0bd9084a0067c338433b3903504a400 (patch)
tree917a6f2bd1b59ccea059a86678888ec281d131db /edit.php
parent95731e38bd3d674f902f2e2192d63c71af608eeb (diff)
downloadwiki-7626010ce0bd9084a0067c338433b3903504a400.tar.gz
wiki-7626010ce0bd9084a0067c338433b3903504a400.tar.bz2
wiki-7626010ce0bd9084a0067c338433b3903504a400.zip
preview doesnt need parse on load
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/edit.php b/edit.php
index cbdb154..fc3ec8a 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.57 2009/02/21 16:34:18 lsces Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.58 2009/02/21 17:29:55 tekimaki_admin 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: edit.php,v 1.57 2009/02/21 16:34:18 lsces Exp $
+ * $Id: edit.php,v 1.58 2009/02/21 17:29:55 tekimaki_admin Exp $
* @package wiki
* @subpackage functions
*/
@@ -24,7 +24,7 @@ $gBitSystem->verifyPackage( 'wiki' );
// bypass lookup_content_inc.php as we can't prevent it parsing faulty pages
unset($_REQUEST['content_id']);
// Disable parsing data if not asking to preview page
-$_REQUEST["parse"] = isset( $_REQUEST["preview"] ) ? true : false;
+$_REQUEST["parse"] = false;
include( WIKI_PKG_PATH.'lookup_page_inc.php' );
$wiki_sandbox = FALSE;