summaryrefslogtreecommitdiff
path: root/bit_setup_inc.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-17 23:51:50 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-17 23:51:50 +0000
commit1c0d0ea41510a560ed800da098777b5cb48a98b2 (patch)
tree99a0158f943120fa0315980e9934ec6b0aaa6c01 /bit_setup_inc.php
parente54033e38278bdcd3947f8801852c81485433f2a (diff)
downloadthemes-1c0d0ea41510a560ed800da098777b5cb48a98b2.tar.gz
themes-1c0d0ea41510a560ed800da098777b5cb48a98b2.tar.bz2
themes-1c0d0ea41510a560ed800da098777b5cb48a98b2.zip
registerPackage now takes a hash instead of multiple parameters - keeps # of parameters under control
Diffstat (limited to 'bit_setup_inc.php')
-rw-r--r--bit_setup_inc.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php
index 46f915b..50bb678 100644
--- a/bit_setup_inc.php
+++ b/bit_setup_inc.php
@@ -1,4 +1,10 @@
<?php
- global $gBitSystem, $gBitSmarty;
- $gBitSystem->registerPackage( 'Themes', dirname( __FILE__ ).'/', FALSE );
+global $gBitSystem, $gBitSmarty;
+
+$registerHash = array(
+ 'package_name' => 'themes',
+ 'package_path' => dirname( __FILE__ ).'/',
+ 'activatable' => FALSE,
+);
+$gBitSystem->registerPackage( $registerHash );
?>