. # # ***** END LICENSE BLOCK ***** if (file_exists ('install.php')) { require('install.php'); } else { require('../../constants.php'); session_cache_limiter(''); if (!file_exists(DATA_PATH . '/no-cache.txt')) { require (LIB_PATH . '/http-conditional.php'); $dateLastModification = max( @filemtime(DATA_PATH . '/touch.txt'), @filemtime(LOG_PATH . '/application.log'), @filemtime(DATA_PATH . '/config.php') ); $_SERVER['QUERY_STRING'] .= '&utime=' . file_get_contents(DATA_PATH . '/touch.txt'); //For ETag if (httpConditional($dateLastModification, 0, 0, false, false, true)) { exit(); //No need to send anything } } require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader try { $front_controller = new FreshRSS(); $front_controller->init (); $front_controller->run (); } catch (Exception $e) { echo '### Fatal error! ###
', "\n"; Minz_Log::record ($e->getMessage (), Minz_Log::ERROR); echo 'See logs files.'; } }