Procedural File: _main.inc.php
Source Location: /blogs/inc/_main.inc.php
This file initializes everything BUT the blog!
It is useful when you want to do very customized templates! It is also called by more complete initializers.
This file is part of the evoCore framework - http://evocore.net/ See also http://sourceforge.net/projects/evocms/.
| Author: | fplanque: Francois PLANQUE |
| Author: | mfollett: Matt FOLLETT. |
| Author: | blueyed: Daniel HAHLER |
| Author: | mbruneau: Marc BRUNEAU / PROGIDISTRI |
| Version: | $Id: _main.inc.php,v 1.89 2008/01/22 15:34:46 fplanque Exp $ |
| Copyright: | (c)2003-2008 by Francois PLANQUE - http://fplanque.net/ Parts of this file are copyright (c)2004-2006 by Daniel HAHLER - http://thequod.de/contact. Parts of this file are copyright (c)2005-2006 by PROGIDISTRI - http://progidistri.com/. |
| Filesource: | Source Code for this file |
Debug message log for debugging only (initialized here).
If $debug is off, it will be re-instantiated of class Log_noop after loading config and perform no operations.
Default value: & new Log( 'note' )Corrected Unix timestamp to match server timezone
Default value: $servertimenow + $time_differenceInfo & error message log for end user (initialized here)
Default value: & new Log( 'error' )Interface to general settings
Keep this below the creation of the DB object, because it checks for the correct db_version and catches "table does not exist" errors, providing a link to the install script.
Default value: & new GeneralSettings()API Tags:
| Usedby: | validate_dirname() - or $force_regexp_dirname form _advanced.php |
Interface to user settings
Default value: & new UserSettings()