Some structure changes...

by Stephan Borg
Thursday, February 26, 2004
Posted to Important Stuff
Made some structure and rename changes today.

kernel/local.php is now kernel/config_inc.php
kernel/defaults_inc.php is now kernel/config_defaults_inc.php

Kernel flowchart goes something like this:
  1. /tiki_setup_inc.php is called - this defines TIKI_ROOT_PATH and points to (requires) kernel/setup_inc.php
  2. kernel/setup_inc.php is called - the first two things it does is includes (in case its a virgin install) kernel/config_inc.php and requires kernel/config_defaults_inc.php. This file is in flux at the moment and is slowly getting cleaned out to only perform setup tasks.
  3. kernel/config_inc.php is all the user custom settings and overrides
  4. kernel/config_default_inc.php is all the default values not specified in kernerl/config_inc.php. This file also defines all the constants (not sure if constants should be defined here or in setup_inc.php).
  5. back to kernel/setup_inc.php - TikiSystem->scanPackages is executed, creating all the XXX_PKG_PATH and XXX_PKG_URL constants. Then any library include paths are prepended.
Post Comment
If you are already registered, please enter your login credentials.
Anonymous Post