summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorspider@app1 <spiderr@bitweaver.org>2016-06-21 11:48:36 -0400
committerspider@app1 <spiderr@bitweaver.org>2016-06-21 11:48:36 -0400
commiteb99a8398ae5b54f13313c7fff446a55e8c7d796 (patch)
tree68a2bd311727ef6814568d466f51a9a4e6ace1cd /index.php
parent72fec4bc336c83591aceeabbe10175282a6664c6 (diff)
downloadusers-eb99a8398ae5b54f13313c7fff446a55e8c7d796.tar.gz
users-eb99a8398ae5b54f13313c7fff446a55e8c7d796.tar.bz2
users-eb99a8398ae5b54f13313c7fff446a55e8c7d796.zip
update for BitSystem::get(set)ActivePackage() instead of ACTIVE_PACKAGE
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/index.php b/index.php
index 0c0daf7..841e687 100644
--- a/index.php
+++ b/index.php
@@ -12,9 +12,7 @@ global $gQueryUserId, $gBitSystem;
* required setup
*/
// Todo: use a different $_SERVER variable to properly determine the active package
-if( !defined( 'ACTIVE_PACKAGE' )) {
- define( 'ACTIVE_PACKAGE', 'users' );
-}
+$gBitSystem->setActivePackage( 'users' );
require_once( '../kernel/setup_inc.php' );