aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Webpages.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2017-02-11 20:52:06 -0500
committerAndrew Manning <tamanning@zoho.com>2017-02-11 20:52:06 -0500
commit8ff9ad76365eced6dd466c491148381dae677a6c (patch)
tree62fe1fc740a6a83149357fdf09cab68a21b8860a /Zotlabs/Module/Webpages.php
parentbc3605a5025908ae0835c057cb7caa1bc26d9c37 (diff)
downloadvolse-hubzilla-8ff9ad76365eced6dd466c491148381dae677a6c.tar.gz
volse-hubzilla-8ff9ad76365eced6dd466c491148381dae677a6c.tar.bz2
volse-hubzilla-8ff9ad76365eced6dd466c491148381dae677a6c.zip
Webpage import tool works again after setting iconfig properly and following the Impel class function example. More testing is needed.
Diffstat (limited to 'Zotlabs/Module/Webpages.php')
-rw-r--r--Zotlabs/Module/Webpages.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Webpages.php b/Zotlabs/Module/Webpages.php
index 46b94f091..a6ca77809 100644
--- a/Zotlabs/Module/Webpages.php
+++ b/Zotlabs/Module/Webpages.php
@@ -288,6 +288,7 @@ class Webpages extends \Zotlabs\Web\Controller {
if ($zip->open($source) === true) {
$tmp_folder_name = random_string(5);
$website = dirname($source) . '/' . $tmp_folder_name;
+ logger($website ,LOGGER_DEBUG);
$zip->extractTo($website); // change this to the correct site path
$zip->close();
@unlink($source); // delete the compressed file now that the content has been extracted