plugin:favoris
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:favoris [2016-01-22 10:37] – 88.87.91.3 | plugin:favoris [2023-10-30 23:12] (current) – Klap-in | ||
---|---|---|---|
Line 7: | Line 7: | ||
type : action, syntax | type : action, syntax | ||
lastupdate : 2009-03-04 | lastupdate : 2009-03-04 | ||
- | compatible : 2008-05-05, rincewind, angua | + | compatible : Rincewind, Angua |
depends | depends | ||
conflicts | conflicts | ||
Line 153: | Line 153: | ||
Thanks for this excellent plugin! | Thanks for this excellent plugin! | ||
+ | |||
+ | ==== Patch for a wiki farm setup ==== | ||
+ | |||
+ | <code diff> | ||
+ | --- action.php.ORIG 2009-03-03 17: | ||
+ | +++ action.php 2016-03-15 11: | ||
+ | @@ -42,6 +42,8 @@ | ||
+ | | ||
+ | | ||
+ | |||
+ | + $cookieDir = empty($conf[' | ||
+ | + | ||
+ | | ||
+ | | ||
+ | } | ||
+ | @@ -55,7 +57,7 @@ | ||
+ | //Si on ne souhaite pas suivre les favoris | ||
+ | if ($fav[' | ||
+ | //On efface les eventuels cookies existants (sauf off) | ||
+ | - foreach ($_COOKIE[' | ||
+ | + foreach ($_COOKIE[' | ||
+ | | ||
+ | } | ||
+ | |||
+ | @@ -64,7 +66,7 @@ | ||
+ | //On efface tous les cookies (y compris off) | ||
+ | | ||
+ | | ||
+ | - if ($cpt != " | ||
+ | + if ($cpt != " | ||
+ | } | ||
+ | | ||
+ | } | ||
+ | @@ -82,7 +84,7 @@ | ||
+ | else $cpt=1; | ||
+ | |||
+ | //On positionne le cookie | ||
+ | - setCookie(" | ||
+ | + setCookie(" | ||
+ | } | ||
+ | </ | ||
plugin/favoris.1453455443.txt.gz · Last modified: 2016-01-22 10:37 by 88.87.91.3