aboutsummaryrefslogtreecommitdiffhomepage
path: root/import.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-17 13:38:12 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-17 13:38:12 +0200
commit713b2d69910c1221bc86992ca08d6036d2e71bb6 (patch)
tree5148927575440e1955a753a1ac19a05008717e5e /import.php
parent0753bfefd7444712a20cee28fdb057e48602b2eb (diff)
downloadwallabag-713b2d69910c1221bc86992ca08d6036d2e71bb6.tar.gz
wallabag-713b2d69910c1221bc86992ca08d6036d2e71bb6.tar.zst
wallabag-713b2d69910c1221bc86992ca08d6036d2e71bb6.zip
fonction logm() ajoutée (from shaarli)
Diffstat (limited to 'import.php')
-rw-r--r--import.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/import.php b/import.php
index 7a657c21..97072437 100644
--- a/import.php
+++ b/import.php
@@ -42,7 +42,7 @@ else {
42 } 42 }
43 catch (Exception $e) 43 catch (Exception $e)
44 { 44 {
45 $errors[] = $e->getMessage(); 45 logm('error during pocket import : ' . $e->getMessage());
46 } 46 }
47 } 47 }
48 # Pocket génère un fichier HTML avec deux <ul> 48 # Pocket génère un fichier HTML avec deux <ul>
@@ -52,4 +52,5 @@ else {
52 } 52 }
53 53
54 echo 'Import from Pocket completed. <a href="index.php">Welcome to #poche !</a>'; 54 echo 'Import from Pocket completed. <a href="index.php">Welcome to #poche !</a>';
55 logm('import from pocket completed');
55} \ No newline at end of file 56} \ No newline at end of file