A free, self-hostable news aggregator…
Fix commented Minz_Log::debug (#1788)
Alexandre Alapetitec79b8fb46e25
diff --git a/p/api/greader.php b/p/api/greader.phpindex 4add26bd8..b1546192e 100644--- a/p/api/greader.php+++ b/p/api/greader.php@@ -730,9 +730,6 @@ function markAllAsRead($streamId, $olderThanId) {exit('OK');}-//Minz_Log::debug('----------------------------------------------------------------', API_LOG);-//Minz_Log::debug(debugInfo(), API_LOG);-$pathInfo = empty($_SERVER['PATH_INFO']) ? '/Error' : urldecode($_SERVER['PATH_INFO']);$pathInfos = explode('/', $pathInfo);@@ -740,6 +737,10 @@ Minz_Configuration::register('system',DATA_PATH . '/config.php',FRESHRSS_PATH . '/config.default.php');FreshRSS_Context::$system_conf = Minz_Configuration::get('system');++//Minz_Log::debug('----------------------------------------------------------------', API_LOG);+//Minz_Log::debug(debugInfo(), API_LOG);+if (!FreshRSS_Context::$system_conf->api_enabled) {serviceUnavailable();}