Changeset 94772 in spip-zone


Ignore:
Timestamp:
Jan 27, 2016, 11:19:58 AM (4 years ago)
Author:
fil@…
Message:

quelques mots non informatifs de plus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _outils_/spip-cli/trunk/spip-cli/ServerLocate.php

    r94771 r94772  
    5959                $name = basename($rep);
    6060                // si le nom est peu informatif, remonter encore d'un cran
    61                 if (in_array($name, ['www', 'dev', 'old', 'site', 'Web', 'public_html'])) $name = basename(dirname($rep)).'/'.$name;
     61                if (in_array(strtolower($name), ['www', 'dev', 'old', '_old', 'maj', '_maj', 'site', 'web', 'spip', 'public_html'])) $name = basename(dirname($rep)).'/'.$name;
    6262
    6363                $a = @file_get_contents($filename);
Note: See TracChangeset for help on using the changeset viewer.