require_once litepublisher::$paths->lib . 'events.class.php'; require_once litepublisher::$paths->lib . 'items.class.php'; require_once litepublisher::$paths->lib . 'classes.php'; require_once litepublisher::$paths->lib . 'options.class.php'; } else { require_once litepublisher::$paths->lib . 'kernel.php'; } litepublisher::$classes = tclasses::instance(); litepublisher::$options = toptions::instance(); if (!litepublisher::$options->installed) { require_once litepublisher::$paths->lib . 'install' . DIRECTORY_SEPARATOR . 'install.php'; } if (dbversion) { litepublisher::$db = new tdatabase(); } litepublisher::$options->admincookie = litepublisher::$options->cookieenabled && litepublisher::$options->authcookie(); litepublisher::$urlmap = turlmap::instance(); if (!defined('litepublisher_mode')) { litepublisher::$urlmap->request(strtolower($_SERVER['HTTP_HOST']), $_SERVER['REQUEST_URI']); } litepublisher::$options->cache = false; litepublisher::$options->savemodified(); litepublisher::$options->showerrors(); if (dbversion && !preg_match('/(^\\/rpc\\.xml|\\/rss|\\/comments\\.)|(\\.xml$)/', $_SERVER['REQUEST_URI'])) { echo "<pre>\n"; $man = tdbmanager::instance(); //$man->deletealltables(); //echo $man->performance(); //file_put_contents(litepublisher::$pathshome. "litepublisher::$domain .sql", $man->export()); } //