mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-04 14:43:32 -04:00
PHP : suppression autres alertes
Voir https://github.com/marienfressinaud/FreshRSS/issues/310
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<li class="item"><a href="<?php echo $markReadUrl; ?>"><?php echo $string_mark; ?></a></li>
|
||||
<li class="separator"></li>
|
||||
<?php
|
||||
$today = strtotime('today');
|
||||
$today = @strtotime('today');
|
||||
$one_week = $today - 604800;
|
||||
?>
|
||||
<li class="item"><a href="<?php echo _url ('entry', 'read', 'is_read', 1, 'get', $get, 'idMax', $today . '000000'); ?>"><?php echo Translate::t ('before_one_day'); ?></a></li>
|
||||
|
||||
@@ -137,7 +137,7 @@ class Entry extends Model {
|
||||
|
||||
public function isDay ($day) {
|
||||
$date = $this->dateAdded(true);
|
||||
$today = strtotime('today');
|
||||
$today = @strtotime('today');
|
||||
$yesterday = $today - 86400;
|
||||
|
||||
if ($day === Days::TODAY &&
|
||||
|
||||
@@ -265,7 +265,7 @@ class Feed extends Model {
|
||||
$title = html_only_entity_decode (strip_tags ($item->get_title ()));
|
||||
$author = $item->get_author ();
|
||||
$link = $item->get_permalink ();
|
||||
$date = strtotime ($item->get_date ());
|
||||
$date = @strtotime ($item->get_date ());
|
||||
|
||||
// gestion des tags (catégorie == tag)
|
||||
$tags_tmp = $item->get_categories ();
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
... //Rest of the script, just as you would do normally.
|
||||
?>
|
||||
|
||||
Version 1.7 beta, 2013-11-03, http://alexandre.alapetite.fr/doc-alex/php-http-304/
|
||||
Version 1.7 beta, 2013-12-02, http://alexandre.alapetite.fr/doc-alex/php-http-304/
|
||||
|
||||
------------------------------------------------------------------
|
||||
Written by Alexandre Alapetite, http://alexandre.alapetite.fr/cv/
|
||||
@@ -124,7 +124,7 @@ function httpConditional($UnixTimeStamp,$cacheSeconds=0,$cachePrivacy=0,$feedMod
|
||||
if ($feedMode)
|
||||
{//Special RSS/ATOM
|
||||
global $clientCacheDate;
|
||||
$clientCacheDate=strtotime($dateCacheClient);
|
||||
$clientCacheDate=@strtotime($dateCacheClient);
|
||||
$cachePrivacy=0;
|
||||
}
|
||||
|
||||
|
||||
@@ -228,6 +228,7 @@ function saveStep3 () {
|
||||
$_SESSION['bd_error'] = true;
|
||||
}
|
||||
}
|
||||
invalidateHttpCache();
|
||||
}
|
||||
function deleteInstall () {
|
||||
$res = unlink (PUBLIC_PATH . '/install.php');
|
||||
|
||||
Reference in New Issue
Block a user