- The main purpose is to initialize 'low level' components during core construct... It is like runlevel startup scripts in linux
- Initialization sequence can be extended by adding scripts into init.scripts directory
- Name of script file should have the following format: NN-name.php, where NN is a 2 digit number used to define execution order
- 00-name.php is executed first; 99-name.php is executed last
- Typical examples of such scripts:
- add include paths for PHP
- database connectivity and low level init
- inherit and make smarty instance
- All of above will replace tiki-db.php (with local.php), setup.php and some (most? -terence) parts of tiki-setup_base.php/tiki-setup.php into well organized and logically independent ordered execution scripts
|