summaryrefslogtreecommitdiff
path: root/admin
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 /admin
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 'admin')
-rw-r--r--admin/assign_user.php2
-rw-r--r--admin/edit_group.php2
-rw-r--r--admin/edit_role.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/admin/assign_user.php b/admin/assign_user.php
index b493217..aa6d5f0 100644
--- a/admin/assign_user.php
+++ b/admin/assign_user.php
@@ -44,7 +44,7 @@ $gBitSmarty->assign('groups', $gBitUser->getAllGroups( $listHash ));
$gBitSystem->setBrowserTitle( 'Edit User: '.$assignUser->mUsername );
if($gBitSystem->isPackageActive("quota")) {
- include(QUOTA_PKG_PATH.'quota_inc.php');
+ include(QUOTA_PKG_INCLUDE_PATH.'quota_inc.php');
}
diff --git a/admin/edit_group.php b/admin/edit_group.php
index e256dc4..51851b5 100644
--- a/admin/edit_group.php
+++ b/admin/edit_group.php
@@ -120,7 +120,7 @@ if( !empty( $_REQUEST['group_id'] ) || (!empty( $_REQUEST["action"] ) && $_REQUE
/*
// get content and pass it on to the template
- include_once( LIBERTY_PKG_PATH.'get_content_list_inc.php' );
+ include_once( LIBERTY_PKG_INCLUDE_PATH.'get_content_list_inc.php' );
foreach( $contentList as $cItem ) {
$cList[$contentTypes[$cItem['content_type_guid']]][$cItem['content_id']] = $cItem['title'].' [id: '.$cItem['content_id'].']';
}
diff --git a/admin/edit_role.php b/admin/edit_role.php
index 3116983..fa102ab 100644
--- a/admin/edit_role.php
+++ b/admin/edit_role.php
@@ -120,7 +120,7 @@ if( !empty( $_REQUEST['role_id'] ) || (!empty( $_REQUEST["action"] ) && $_REQUES
/*
// get content and pass it on to the template
- include_once( LIBERTY_PKG_PATH.'get_content_list_inc.php' );
+ include_once( LIBERTY_PKG_INCLUDE_PATH.'get_content_list_inc.php' );
foreach( $contentList as $cItem ) {
$cList[$contentTypes[$cItem['content_type_guid']]][$cItem['content_id']] = $cItem['title'].' [id: '.$cItem['content_id'].']';
}