diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-15 16:40:05 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-15 16:40:05 +0100 |
| commit | c8aba9e4d5ff8fd2f13ec4e96c206c726df568b0 (patch) | |
| tree | d2074fcd322ff094c51971b22e24bec2354e2070 /structure_add_content.php | |
| parent | 58cad39ab806494dbc6f440ce4f35793f5d7f20c (diff) | |
| download | liberty-c8aba9e4d5ff8fd2f13ec4e96c206c726df568b0.tar.gz liberty-c8aba9e4d5ff8fd2f13ec4e96c206c726df568b0.tar.bz2 liberty-c8aba9e4d5ff8fd2f13ec4e96c206c726df568b0.zip | |
Namespace fixes
Diffstat (limited to 'structure_add_content.php')
| -rwxr-xr-x | structure_add_content.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/structure_add_content.php b/structure_add_content.php index eb3ca79..b58175a 100755 --- a/structure_add_content.php +++ b/structure_add_content.php @@ -11,6 +11,7 @@ /** * required setup */ +use Bitweaver\KernelTools; $gLiteweightScan = true; require_once '../kernel/includes/setup_inc.php'; @@ -57,9 +58,9 @@ if( $gBitThemes->isAjaxRequest() ) { if( !empty( $_REQUEST['done'] ) ) { if( !empty( $_SESSION['structure_referer'] ) ) { - bit_redirect( $_SESSION['structure_referer'] ); + KernelTools::bit_redirect( $_SESSION['structure_referer'] ); } else { - bit_redirect( $gContent->getDisplayUri() ); + KernelTools::bit_redirect( $gContent->getDisplayUri() ); } } $gBitSystem->display( 'bitpackage:liberty/structure_add_content.tpl', "Add Content" , [ 'display_mode' => 'display' ]); |
