diff options
| author | modela bitweaver <spiderr@bitweaver.org> | 2021-02-02 01:17:54 -0500 |
|---|---|---|
| committer | modela bitweaver <spiderr@bitweaver.org> | 2021-02-02 01:17:54 -0500 |
| commit | 46f16280083e21264d6499899f447999a95a534e (patch) | |
| tree | 5c091b61ae841d110622146e68ca7dc5eb4399da /edit.php | |
| parent | 8e8fb7e46c83f9c66d88cedbbd30c67f87c7a2d4 (diff) | |
| download | wiki-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.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" )); } |
