Cache HTTP compatible multi-utilisateur

Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126
This commit is contained in:
Alexandre Alapetite
2013-12-30 15:00:41 +01:00
parent 4d6ab45b03
commit bd5d7a7bcb
12 changed files with 73 additions and 60 deletions

View File

@@ -218,10 +218,10 @@ class FreshRSS_index_Controller extends Minz_ActionController {
Minz_View::prependTitle (Minz_Translate::t ('logs') . ' - ');
if (Minz_Request::isPost ()) {
file_put_contents(LOG_PATH . '/' . Minz_Configuration::currentUser() . '.log', ''); //Truncate
FreshRSS_LogDAO::truncate();
}
$logs = FreshRSS_LogDAO::lines(Minz_Configuration::currentUser()); //TODO: ask only the necessary lines
$logs = FreshRSS_LogDAO::lines(); //TODO: ask only the necessary lines
//gestion pagination
$page = Minz_Request::param ('page', 1);