dépôts
/
lhc
/
web
/
clavette_www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~maj SPIP v3.0.17 --> v3.0.19
[lhc/web/clavette_www.git]
/
www
/
plugins-dist
/
medias
/
inc
/
joindre_document.php
diff --git
a/www/plugins-dist/medias/inc/joindre_document.php
b/www/plugins-dist/medias/inc/joindre_document.php
index
69d9adb
..
431cd01
100644
(file)
--- a/
www/plugins-dist/medias/inc/joindre_document.php
+++ b/
www/plugins-dist/medias/inc/joindre_document.php
@@
-262,7
+262,7
@@
function joindre_decrire_contenu_zip($zip) {
\r
\r
\r
\r
\r
\r
-// http://
doc.spip.org
/@joindre_deballes
\r
+// http://
code.spip.net
/@joindre_deballes
\r
function joindre_deballer_lister_zip($path,$tmp_dir) {
\r
include_spip('inc/pclzip');
\r
$archive = new PclZip($path);
\r
function joindre_deballer_lister_zip($path,$tmp_dir) {
\r
include_spip('inc/pclzip');
\r
$archive = new PclZip($path);
\r
@@
-291,7
+291,7
@@
if (!function_exists('fixer_extension_document')){
* @param unknown_type $doc
\r
* @return unknown
\r
*/
\r
* @param unknown_type $doc
\r
* @return unknown
\r
*/
\r
-// http://
doc.spip.org
/@fixer_extension_document
\r
+// http://
code.spip.net
/@fixer_extension_document
\r
function fixer_extension_document($doc) {
\r
$extension = '';
\r
$name = $doc['name'];
\r
function fixer_extension_document($doc) {
\r
$extension = '';
\r
$name = $doc['name'];
\r
@@
-313,7
+313,7
@@
function fixer_extension_document($doc) {
//
\r
// Gestion des fichiers ZIP
\r
//
\r
//
\r
// Gestion des fichiers ZIP
\r
//
\r
-// http://
doc.spip.org
/@accepte_fichier_upload
\r
+// http://
code.spip.net
/@accepte_fichier_upload
\r
\r
function accepte_fichier_upload ($f) {
\r
if (!preg_match(",.*__MACOSX/,", $f)
\r
\r
function accepte_fichier_upload ($f) {
\r
if (!preg_match(",.*__MACOSX/,", $f)
\r
@@
-326,7
+326,7
@@
function accepte_fichier_upload ($f) {
\r
# callback pour le deballage d'un zip telecharge
\r
# http://www.phpconcept.net/pclzip/man/en/?options-pclzip_cb_pre_extractfunction
\r
\r
# callback pour le deballage d'un zip telecharge
\r
# http://www.phpconcept.net/pclzip/man/en/?options-pclzip_cb_pre_extractfunction
\r
-// http://
doc.spip.org
/@callback_deballe_fichier
\r
+// http://
code.spip.net
/@callback_deballe_fichier
\r
\r
function callback_deballe_fichier($p_event, &$p_header) {
\r
if (accepte_fichier_upload($p_header['filename'])) {
\r
\r
function callback_deballe_fichier($p_event, &$p_header) {
\r
if (accepte_fichier_upload($p_header['filename'])) {
\r