Browse Source

appeler le bon fichier, c'est mieux pour que cela marche

svn/root/tags/v2.0.5
maieul@maieul.net 6 years ago
parent
commit
d9f9bfa825
  1. 4
      action/hash_404.php
  2. 2
      paquet.xml

4
action/hash_404.php

@ -12,9 +12,9 @@ RewriteRule .* ../index.php?action=hash_404 [L]
*/
function action_hash_404_dist(){
include_spip("hash_fonctions");
include_spip("hasher_fonctions");
$doc = preg_replace(',^.*?IMG/,', '', $_SERVER['REQUEST_URI']);
if (($dest = hasher_adresser_document($doc)
AND file_exists('./'.$GLOBALS['meta']['dir_img'].$dest))
OR ($dest = hasher_adresser_document($doc, true)

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="hasher"
categorie="performance"
version="2.0.3"
version="2.0.4"
etat="test"
compatibilite="[3.0.0;3.1.*]"
logo="prive/themes/spip/images/hasher-32.png"

Loading…
Cancel
Save