summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authormodela bitweaver <spiderr@bitweaver.org>2021-02-02 01:17:54 -0500
committermodela bitweaver <spiderr@bitweaver.org>2021-02-02 01:17:54 -0500
commit46f16280083e21264d6499899f447999a95a534e (patch)
tree5c091b61ae841d110622146e68ca7dc5eb4399da /edit.php
parent8e8fb7e46c83f9c66d88cedbbd30c67f87c7a2d4 (diff)
downloadwiki-46f16280083e21264d6499899f447999a95a534e.tar.gz
wiki-46f16280083e21264d6499899f447999a95a534e.tar.bz2
wiki-46f16280083e21264d6499899f447999a95a534e.zip
move _inc and _lib to includes/ and use PKG_INCLUDE_PATH constants
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 36cf39e..ccfb2c3 100644
--- a/edit.php
+++ b/edit.php
@@ -32,7 +32,7 @@ if( $gContent->isValid() ) {
//make comment count for this page available for templates
if( $gBitSystem->isFeatureActive( 'wiki_comments' ) && !empty( $_REQUEST['page_id'] ) ) {
- require_once( LIBERTY_PKG_PATH.'LibertyComment.php' );
+ require_once( LIBERTY_PKG_CLASS_PATH.'LibertyComment.php' );
$gComment = new LibertyComment();
$numComments = $gComment->getNumComments($gContent->mContentId);
$gBitSmarty->assign('comments_count', $numComments);
@@ -413,7 +413,7 @@ if( isset( $_REQUEST["suck_url"] ) ) {
$gBitSystem->fatalError( tra( "Importing remote URLs is disabled" ));
}
// Suck another page and append to the end of current
- require_once( UTIL_PKG_INC.'htmlparser/html_parser_inc.php' );
+ require_once( UTIL_PKG_INCLUDE_PATH.'htmlparser/html_parser_inc.php' );
$suck_url = isset( $_REQUEST["suck_url"] ) ? $_REQUEST["suck_url"] : '';
$parsehtml = isset( $_REQUEST["parsehtml"] ) ? ( $_REQUEST["parsehtml"] == 'on' ? 'y' : 'n' ): 'n';
if( isset( $_REQUEST['do_suck'] ) && strlen( $suck_url ) > 0 ) {
@@ -443,7 +443,7 @@ if( isset( $_REQUEST["suck_url"] ) ) {
// Need to parse HTML?
if( $parsehtml == 'y' ) {
// Read compiled( serialized ) grammar
- $grammarfile = UTIL_PKG_INC.'htmlparser/htmlgrammar.cmp';
+ $grammarfile = UTIL_PKG_INCLUDE_PATH.'htmlparser/htmlgrammar.cmp';
if( !$fp = @fopen( $grammarfile,'r' ) ) {
$gBitSystem->fatalError( tra( "Can't parse remote HTML page" ));
}