} else { if ($memcache) { $filename = litepublisher::$paths->lib . 'kernel.php'; if ($s = $memcache->get($filename)) { eval('?>' . $s); } else { $s = file_get_contents($filename); eval('?>' . $s); $memcache->set($filename, $s, false, 3600); } } else { require_once litepublisher::$paths->lib . 'kernel.php'; } } define('dbversion', true); tfilestorage::$memcache = $memcache; if (!tstorage::loaddata()) { if (file_exists(litepublisher::$paths->data . 'storage.php') && filesize(litepublisher::$paths->data . 'storage.php')) { die('Storage not loaded'); } //if (!litepublisher::$options->installed) require_once(litepublisher::$paths->lib .'install' . DIRECTORY_SEPARATOR . 'install.php'); require_once litepublisher::$paths->lib . 'install' . DIRECTORY_SEPARATOR . 'install.php'; } litepublisher::$classes = tclasses::i(); litepublisher::$options = toptions::i(); litepublisher::$db = tdatabase::i(); litepublisher::$site = tsite::i(); litepublisher::$urlmap = turlmap::i(); if (!defined('litepublisher_mode')) { litepublisher::$urlmap->request(strtolower($_SERVER['HTTP_HOST']), $_SERVER['REQUEST_URI']); }