diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-02-17 23:51:46 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-02-17 23:51:46 +0000 |
| commit | 7d6b60e6e3979c836724377b329816fa8a636382 (patch) | |
| tree | ce21a174628e0cca01c6bd7a3809d2ff79f38d8b | |
| parent | 876765ded93ae45b7f33d6ac04938140259d89be (diff) | |
| download | quota-7d6b60e6e3979c836724377b329816fa8a636382.tar.gz quota-7d6b60e6e3979c836724377b329816fa8a636382.tar.bz2 quota-7d6b60e6e3979c836724377b329816fa8a636382.zip | |
registerPackage now takes a hash instead of multiple parameters - keeps # of parameters under control
| -rw-r--r-- | bit_setup_inc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php index 35428a0..a2cf8f5 100644 --- a/bit_setup_inc.php +++ b/bit_setup_inc.php @@ -1,9 +1,9 @@ <?php global $gBitSystem, $gBitSmarty; -$gBitSystem->registerPackage( 'quota', dirname( __FILE__).'/' ); - -if( $gBitSystem->isPackageActive( 'quota' ) ) { - -} +$registerHash = array( + 'package_name' => 'quota', + 'package_path' => dirname( __FILE__ ).'/', +); +$gBitSystem->registerPackage( $registerHash ); ?> |
