summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormodela bitweaver <spiderr@bitweaver.org>2021-02-02 01:17:15 -0500
committermodela bitweaver <spiderr@bitweaver.org>2021-02-02 01:17:15 -0500
commit26c1c5191b4b4167e0084f96e47afa4cb2a5eaa7 (patch)
tree2d6ac6ef21cd9feb70dfc3448024e42259e21699
parent58d868c3dc7cb1298e42c50350cb00eb72270838 (diff)
downloadnexus-26c1c5191b4b4167e0084f96e47afa4cb2a5eaa7.tar.gz
nexus-26c1c5191b4b4167e0084f96e47afa4cb2a5eaa7.tar.bz2
nexus-26c1c5191b4b4167e0084f96e47afa4cb2a5eaa7.zip
move _inc and _lib to includes/ and use PKG_INCLUDE_PATH constants
-rw-r--r--Nexus.php4
-rw-r--r--NexusSystem.php2
-rw-r--r--bit_setup_inc.php2
-rw-r--r--menu_items.php4
-rw-r--r--menu_sort.php2
-rw-r--r--menus.php2
6 files changed, 8 insertions, 8 deletions
diff --git a/Nexus.php b/Nexus.php
index 843b857..ba532ba 100644
--- a/Nexus.php
+++ b/Nexus.php
@@ -522,7 +522,7 @@ class Nexus extends NexusSystem {
function expungeDeadItems( $pMenuId=NULL ) {
if( isset( $pMenuId ) && is_numeric( $pMenuId ) ) {
// get $contentList
- include_once( LIBERTY_PKG_PATH.'get_content_list_inc.php' );
+ include_once( LIBERTY_PKG_INCLUDE_PATH.'get_content_list_inc.php' );
foreach( $contentList as $contentItem ) {
$contentIds[] = $contentItem['content_id'];
}
@@ -649,7 +649,7 @@ class Nexus extends NexusSystem {
*/
function importStructure( $pStructureId=NULL ) {
if( $pStructureId || !is_numeric( $pStructureId ) ) {
- include_once( LIBERTY_PKG_PATH.'LibertyStructure.php');
+ include_once( LIBERTY_PKG_CLASS_PATH.'LibertyStructure.php');
$structure = new LibertyStructure( $pStructureId );
$structure->load();
diff --git a/NexusSystem.php b/NexusSystem.php
index 646de91..3578492 100644
--- a/NexusSystem.php
+++ b/NexusSystem.php
@@ -13,7 +13,7 @@
/**
* Setup
*/
-require_once( LIBERTY_PKG_PATH.'LibertySystem.php' );
+require_once( LIBERTY_PKG_CLASS_PATH.'LibertySystem.php' );
define( 'NEXUS_DEFAULT_MENU', 'suckerfish' );
/**
diff --git a/bit_setup_inc.php b/bit_setup_inc.php
index 67a4a63..881b49b 100644
--- a/bit_setup_inc.php
+++ b/bit_setup_inc.php
@@ -27,7 +27,7 @@ if( $gBitSystem->isPackageActive( 'nexus' ) ) {
$gBitSmarty->assignByRef( 'gNexusSystem', $gNexusSystem );
// include service functions
- require_once( NEXUS_PKG_PATH.'servicefunctions_inc.php' );
+ require_once( NEXUS_PKG_INCLUDE_PATH.'servicefunctions_inc.php' );
$gLibertySystem->registerService( LIBERTY_SERVICE_MENU, NEXUS_PKG_NAME, array(
'content_store_function' => 'nexus_content_store',
diff --git a/menu_items.php b/menu_items.php
index c912490..1240dbb 100644
--- a/menu_items.php
+++ b/menu_items.php
@@ -11,7 +11,7 @@
*/
require_once( '../kernel/setup_inc.php' );
require_once( NEXUS_PKG_PATH.'Nexus.php');
-include_once( NEXUS_PKG_PATH.'menu_lookup_inc.php' );
+include_once( NEXUS_PKG_INCLUDE_PATH.'menu_lookup_inc.php' );
$gBitSystem->verifyPermission( 'p_nexus_create_menus' );
@@ -20,7 +20,7 @@ if( empty( $_REQUEST['menu_id'] ) ) {
}
// get content and pass it on
-include_once( LIBERTY_PKG_PATH.'get_content_list_inc.php' );
+include_once( LIBERTY_PKG_INCLUDE_PATH.'get_content_list_inc.php' );
$gBitSmarty->assign( 'contentSelect', $contentSelect );
$gBitSmarty->assign( 'contentTypes', $contentTypes );
diff --git a/menu_sort.php b/menu_sort.php
index 63290db..039d6e8 100644
--- a/menu_sort.php
+++ b/menu_sort.php
@@ -12,7 +12,7 @@
require_once( '../kernel/setup_inc.php' );
global $gBitSystem;
require_once( NEXUS_PKG_PATH.'Nexus.php');
-include_once( NEXUS_PKG_PATH.'menu_lookup_inc.php' );
+include_once( NEXUS_PKG_INCLUDE_PATH.'menu_lookup_inc.php' );
$gBitSystem->verifyPermission( 'p_nexus_create_menus' );
diff --git a/menus.php b/menus.php
index 56abf17..272eecb 100644
--- a/menus.php
+++ b/menus.php
@@ -12,7 +12,7 @@
require_once( '../kernel/setup_inc.php' );
global $gBitSystem;
require_once( NEXUS_PKG_PATH.'Nexus.php');
-include_once( NEXUS_PKG_PATH.'menu_lookup_inc.php' );
+include_once( NEXUS_PKG_INCLUDE_PATH.'menu_lookup_inc.php' );
$formfeedback = '';
$gBitSystem->verifyPermission( 'p_nexus_create_menus' );