aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index b7c7baff..f572d983 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -112,7 +112,10 @@ function prepare_url($url, $id)
112 { 112 {
113 $content = $r->articleContent->innerHTML; 113 $content = $r->articleContent->innerHTML;
114 $parametres['title'] = $r->articleTitle->innerHTML; 114 $parametres['title'] = $r->articleTitle->innerHTML;
115 $parametres['content'] = filtre_picture($content, $url, $id); 115 if (DOWNLOAD_PICTURES) {
116 $content = filtre_picture($content, $url, $id);
117 }
118 $parametres['content'] = $content;
116 return $parametres; 119 return $parametres;
117 } 120 }
118 } 121 }