A free, self-hostable news aggregator…
Déplacement de ./actualize_script.php sous ./app/
Alexandre Alapetite3ba5223e1350
diff --git a/CHANGELOG b/CHANGELOGindex 9ae3d3f62..336245269 100644--- a/CHANGELOG+++ b/CHANGELOG@@ -53,6 +53,7 @@* Déplacement de “./public/data/Configuration.array.php” vers “./data/*_user.php”* Déplacement de “./public/index.php” vers “./p/i/index.php” (voir cookie ci-dessous)* Déplacement de “./public/” vers “./p/”+ * Déplacement de “./actualize_script.php” vers “./app/actualize_script.php”* Divers :* Nouvelle politique de cookie de session (témoin de connexion)* Utilise un nom poli “FreshRSS”diff --git a/README.md b/README.mdindex 210ec64cc..5051a936c 100644--- a/README.md+++ b/README.md@@ -45,7 +45,7 @@ Il est recommandé de limiter l’accès à votre FreshRSS, soit :# Rafraîchissement automatique des flux* Vous pouvez ajouter une tâche CRON sur le script d’actualisation des flux. Par exemple, pour exécuter le script toutes les heures :```-7 * * * * php /chemin/vers/freshrss/actualize_script.php >/dev/null 2>&1+7 * * * * php /chemin/vers/FreshRSS/app/actualize_script.php >/dev/null 2>&1```# Conseilsdiff --git a/app/.htaccess b/app/.htaccessnew file mode 100644index 000000000..9e768397d--- /dev/null+++ b/app/.htaccess@@ -0,0 +1,3 @@+Order Allow,Deny+Deny from all+Satisfy alldiff --git a/actualize_script.php b/app/actualize_script.phpsimilarity index 88%rename from actualize_script.phprename to app/actualize_script.phpindex 7986ba0b5..20438128a 100755--- a/actualize_script.php+++ b/app/actualize_script.php@@ -1,5 +1,5 @@<?php-require('constants.php');+require(dirname(__FILE__) . '/../constants.php');$_GET['c'] = 'feed';$_GET['a'] = 'actualize';diff --git a/app/index.html b/app/index.htmlnew file mode 100644index 000000000..85faaa37e--- /dev/null+++ b/app/index.html@@ -0,0 +1,13 @@+<!DOCTYPE html>+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB" lang="en-GB">+<head>+<meta charset="UTF-8" />+<meta http-equiv="Refresh" content="0; url=/" />+<title>Redirection</title>+<meta name="robots" content="noindex" />+</head>++<body>+<p><a href="/">Redirection</a></p>+</body>+</html>diff --git a/data/index.html b/data/index.htmlindex 2f3b51848..85faaa37e 100644--- a/data/index.html+++ b/data/index.html@@ -4,7 +4,7 @@<meta charset="UTF-8" /><meta http-equiv="Refresh" content="0; url=/" /><title>Redirection</title>-<meta name="robots" content="noindex,follow" />+<meta name="robots" content="noindex" /></head><body>diff --git a/index.html b/index.htmlindex bbea573c7..1bfdea859 100644--- a/index.html+++ b/index.html@@ -4,6 +4,7 @@<meta charset="UTF-8" /><meta http-equiv="Refresh" content="0; url=p/i/" /><title>Redirection</title>+<meta name="robots" content="noindex" /></head><body>diff --git a/lib/.htaccess b/lib/.htaccessnew file mode 100644index 000000000..9e768397d--- /dev/null+++ b/lib/.htaccess@@ -0,0 +1,3 @@+Order Allow,Deny+Deny from all+Satisfy all