Changeset 44028 in spip-zone


Ignore:
Timestamp:
Jan 31, 2011, 7:21:57 PM (9 years ago)
Author:
eric@…
Message:

Amélioration de la regexp concernant la balise salvatore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _outils_/smart_paquets/empaqueteur_plugin.php

    r44014 r44028  
    1919</archive>\n\n";
    2020                // Bloc d'info pour Salvatore si il existe
    21                 if (preg_match_all("#<salvatore\s+module=['\"]+(\w*)['\"]+\s+reference=['\"]+(\w*)['\"]+\s*/>#i", $plugin_xml, $matches)) {
     21                if (preg_match_all("#<salvatore\s+module=['\"](\w*)['\"]\s+reference=['\"](\w*)['\"]\s*/>#i", $plugin_xml, $matches)) {
    2222                        foreach ($matches[1] as $_i => $_module) {
    2323                                $salvatore .= rtrim($depot['url_serveur'], '/') . '/' . rtrim($source, '/') . '/;' .
Note: See TracChangeset for help on using the changeset viewer.