History of KernelInitialization
Version 2
KernelInitialization
What happens during initialization
For every page request, here is what the KernelPackage will do:
TikiSystem::scanPackages() is an important function, and if you are reading this page, you should try to trace that function out. scanPackages will:
include_once (HTML_PKG_PATH.'htmlpages_lib.php');
or for setting URL's such as
header ("location: ".POLLS_PKG_PATH."results.php?pollId=$pollId");
more to come...
TikiSystem::scanPackages() is an important function, and if you are reading this page, you should try to trace that function out. scanPackages will:
1. Define 2 constants for every TikiPackage.
The kernel will assume every directory in the TikiPro root is a package, and will make the constants <DIRECTORYNAME>_PKG_URL and <DIRECTORYNAME>_PKG_PATH. For example, the wiki/ directory will cause WIKI_PKG_URL and WIKI_PKG_PATH to be defined. These constants should be used when including files, such asinclude_once (HTML_PKG_PATH.'htmlpages_lib.php');
or for setting URL's such as
header ("location: ".POLLS_PKG_PATH."results.php?pollId=$pollId");
more to come...