summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authormodela bitweaver <spiderr@bitweaver.org>2021-02-02 01:17:45 -0500
committermodela bitweaver <spiderr@bitweaver.org>2021-02-02 01:17:45 -0500
commitc7809e9cb461e629d7cf107db08967b2980de742 (patch)
treeb63a00bcc55bb546890d7170695308f569857445 /index.php
parent6b930dcda26e6510ff20a66584cbfd8bec771b31 (diff)
downloadusers-c7809e9cb461e629d7cf107db08967b2980de742.tar.gz
users-c7809e9cb461e629d7cf107db08967b2980de742.tar.bz2
users-c7809e9cb461e629d7cf107db08967b2980de742.zip
move _inc and _lib to includes/ and use PKG_INCLUDE_PATH constants
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 54a455e..5615627 100644
--- a/index.php
+++ b/index.php
@@ -22,7 +22,7 @@ if( $gBitSystem->getConfig( 'custom_user_fields' )) {
}
// lookup may be via content_id which will then return user_id for search request
-require_once( USERS_PKG_PATH.'includes/lookup_user_inc.php' );
+require_once( USERS_PKG_INCLUDE_PATH.'includes/lookup_user_inc.php' );
// i think we should always allow looking at yourself - regardless of permissions
if( !empty( $_REQUEST['home'] ) ) {
@@ -68,7 +68,7 @@ if( !empty( $_REQUEST['home'] ) ) {
$gBitSmarty->assign( 'user_id', $gQueryUserId);
// now that we have all the offsets, we can get the content list
- include_once( LIBERTY_PKG_PATH.'get_content_list_inc.php' );
+ include_once( LIBERTY_PKG_INCLUDE_PATH.'get_content_list_inc.php' );
//$gBitSmarty->assignByRef('offset', $offset);
$gBitSmarty->assign( 'contentSelect', $contentSelect );