* @license http://www.contenido.org/license/LIZENZ.txt * @link http://www.4fb.de * @link http://www.contenido.org * * $Id$: */ if (!defined("CON_FRAMEWORK")) { define("CON_FRAMEWORK", true); } // Contenido startup process include_once ('../includes/startup.php'); $classPath = cRegistry::getConfigValue('path', 'conlite') . cRegistry::getConfigValue('path', 'classes'); $includesPath = cRegistry::getConfigValue('path', 'conlite') . cRegistry::getConfigValue('path', 'includes'); include_once ($classPath . 'class.user.php'); include_once ($classPath . 'class.xml.php'); include_once ($classPath . 'class.navigation.php'); include_once ($classPath . 'template/class.template.php'); include_once ($classPath . 'class.backend.php'); include_once ($classPath . 'class.table.php'); include_once ($classPath . 'class.notification.php'); include_once ($classPath . 'class.area.php'); include_once ($classPath . 'class.layout.php'); include_once ($classPath . 'class.client.php'); include_once ($classPath . 'class.cat.php'); include_once ($classPath . 'class.treeitem.php'); include_once ($includesPath . 'cfg_language_de.inc.php'); include_once ($includesPath . 'functions.stat.php'); if (!isRunningFromWeb() || function_exists("runJob") || $area == "cronjobs") { $db = new DB_ConLite; $year = date("Y"); $month = date("m"); if ($month == 1) { $month = 12; $year = $year -1; } else { $month = $month -1; } statsArchive(sprintf("%04d%02d",$year,$month)); }