diff options
| author | spider@dav <spiderr@bitweaver.org> | 2021-09-22 15:31:22 -0400 |
|---|---|---|
| committer | spider@dav <spiderr@bitweaver.org> | 2021-09-22 15:31:22 -0400 |
| commit | e93fe04ae4f8bbdfd690d02225ebba36327d8321 (patch) | |
| tree | a8301386333bbe08daa33a2a56a18fff7faa1603 /edit_book.php | |
| parent | 50ce8d22b54c6dc14f6897482d3a864de88a9345 (diff) | |
| parent | 671cbf17ad19dc751ef922ffdee660ffaf5b33d8 (diff) | |
| download | wiki-e93fe04ae4f8bbdfd690d02225ebba36327d8321.tar.gz wiki-e93fe04ae4f8bbdfd690d02225ebba36327d8321.tar.bz2 wiki-e93fe04ae4f8bbdfd690d02225ebba36327d8321.zip | |
Merge branch 'master' of github.com:bitweaver/wiki
Diffstat (limited to 'edit_book.php')
| -rw-r--r-- | edit_book.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/edit_book.php b/edit_book.php index 7080784..dd20c72 100644 --- a/edit_book.php +++ b/edit_book.php @@ -13,7 +13,7 @@ /** * required setup */ -require_once( '../kernel/setup_inc.php' ); +require_once( '../kernel/includes/setup_inc.php' ); if( isset( $_COOKIE['book_section'] ) && $_COOKIE['book_section'] == 'o' ) { $book_section = 'block'; @@ -22,8 +22,8 @@ if( isset( $_COOKIE['book_section'] ) && $_COOKIE['book_section'] == 'o' ) { } $gBitSmarty->assign( 'book_section',$book_section ); -include_once( LIBERTY_PKG_PATH.'LibertyStructure.php'); -include_once( WIKI_PKG_PATH.'BitBook.php'); +include_once( LIBERTY_PKG_CLASS_PATH.'LibertyStructure.php'); +include_once( WIKI_PKG_CLASS_PATH.'BitBook.php'); global $gStructure; @@ -34,7 +34,7 @@ global $gStructure; // get a book instance global $gContent; if( @BitBase::verifyId( $_REQUEST["structure_id"] ) || @BitBase::verifyId( $_REQUEST["content_id"] ) ) { - include_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' ); + include_once( LIBERTY_PKG_INCLUDE_PATH.'lookup_content_inc.php' ); if( empty( $gContent ) ){ $gBitSystem->fatalError( 'Error: Invalid structure id, the book you requested could not be found.' ); } elseif( empty( $_REQUEST["structure_id"] ) ) { @@ -140,7 +140,7 @@ if( isset($_REQUEST["createstructure"]) ) { // set the correct display template $mid = 'bitpackage:wiki/edit_book.tpl'; - include_once( LIBERTY_PKG_PATH.'edit_structure_inc.php'); + include_once( LIBERTY_PKG_INCLUDE_PATH.'structure_edit_inc.php'); if( $gBitThemes->isAjaxRequest() ) { $gBitSmarty->display( 'bitpackage:kernel/feedback_inc.tpl' ); } |
