# Every php entry file first calls __bit_setup_inc.php__. This may change at a later stage, but for now we are just documenting what happens.
|
# bit_setup_inc.php defines the constants __BIT_ROOT_PATH__ and __BIT_ROOT_URL__. These two constants are here as they are the basis for every other constant. Where possible, the defaults for these constants should be automatically defined through functions. Next is __kernel/setup_inc.php__.
|
# kernel/setup_inc.php is dependant on BIT_ROOT_PATH and BIT_ROOT_URL and defines other base constants like __BIT_PKG_PATH__, __KERNEL_PKG_PATH__, __KERNEL_PKG_URL__, etc. PHP tweaks and global variables are initialised.
|
-# __kernel/TikiLib.php__ is called. TikiLib is built from the following classes:
|
- +-kernel/TikiLib.php
|
- +-kernel/TikiSystem.php
|
- +-kernel/TikiSmarty.php
|
- +-kernel/TikiBase.php
|
- +-kernel/TikiDB.php
|
+# __kernel/BitLib.php__ is called. BitLib is built from the following classes: |
+ +-kernel/BitLib.php |
+ +-kernel/BitSystem.php |
+ +-kernel/BitSmarty.php |
+ +-kernel/BitBase.php |
+ +-kernel/BitDB.php |
|
Now, I'll attack this backwards:
|
-* __kernel/TikiDB.php__ is dependant on KERNEL_PKG_PATH, DEBUG_PKG_PATH and adodb.in.php. TikiDB requires $db_bit from local.php to initialise.
|
-* __kernel/TikiBase.php__ is dependant on KERNEL_PKG_PATH, BIT_THEME_PATH, BIT_STYLES_PATH, BIT_PKG_PATH
|
-* __kernel/TikiSmarty.php__ is dependant only on KERNEL_PKG_PATH
|
-* __kernel/TikiSystem.php__ is dependant only on KERNEL_PKG_PATH
|
-* __kernel/TikiLib.php__ is dependant only on KERNEL_PKG_PATH and BIT_PKG_PATH
|
+* __kernel/BitDB.php__ is dependant on KERNEL_PKG_PATH, DEBUG_PKG_PATH and adodb.in.php. BitDB requires $db_bit from local.php to initialise. |
+* __kernel/BitBase.php__ is dependant on KERNEL_PKG_PATH, BIT_THEME_PATH, BIT_STYLES_PATH, BIT_PKG_PATH |
+* __kernel/BitSmarty.php__ is dependant only on KERNEL_PKG_PATH |
+* __kernel/BitSystem.php__ is dependant only on KERNEL_PKG_PATH |
+* __kernel/BitLib.php__ is dependant only on KERNEL_PKG_PATH and BIT_PKG_PATH |
|