Changeset 29140 in spip-zone


Ignore:
Timestamp:
Jun 11, 2009, 9:21:25 PM (11 years ago)
Author:
fil@…
Message:

ne pas parcourir toute l'arborescence pour detecter les config d'urls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/urls_etendues/configuration/type_urls.php

    r29108 r29140  
    2424
    2525        $dispo = array();
    26         foreach (find_all_in_path('', 'urls/\w+\.php$', array()) as $f) {
     26        foreach (find_all_in_path('urls/', '\w+\.php$', array()) as $f) {
     27var_dump($f);
    2728                $r = basename($f, '.php');
    2829                if ($r == 'index') continue;
Note: See TracChangeset for help on using the changeset viewer.