[SPIP] +2.1.12
[velocampus/web/www.git] / www / prive / style_prive_plugins_fonctions.php
diff --git a/www/prive/style_prive_plugins_fonctions.php b/www/prive/style_prive_plugins_fonctions.php
new file mode 100644 (file)
index 0000000..afbdca3
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+if (!defined('_ECRIRE_INC_VERSION')) return;
+
+function tous_les_fonds($dir,$pattern){
+       $liste = find_all_in_path($dir,$pattern);
+       foreach($liste as $k=>$v)
+               $liste[$k] = $dir . basename($v,'.html');
+       return $liste;
+}
+
+?>