From 8ff9ad76365eced6dd466c491148381dae677a6c Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sat, 11 Feb 2017 20:52:06 -0500 Subject: Webpage import tool works again after setting iconfig properly and following the Impel class function example. More testing is needed. --- Zotlabs/Module/Webpages.php | 1 + 1 file changed, 1 insertion(+) (limited to 'Zotlabs/Module') 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 -- cgit v1.2.3