diff options
author | Mario <mario@mariovavti.com> | 2022-12-11 20:46:02 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-12-11 20:46:02 +0000 |
commit | 45f8e43be425b9718aa9ac819256ea407af900f0 (patch) | |
tree | c81eca1d202a30530a7264de9275512e975b5201 /Zotlabs/Lib | |
parent | 7ef0b05ce68a24f3f0d98de5018a2ee64520b168 (diff) | |
download | volse-hubzilla-45f8e43be425b9718aa9ac819256ea407af900f0.tar.gz volse-hubzilla-45f8e43be425b9718aa9ac819256ea407af900f0.tar.bz2 volse-hubzilla-45f8e43be425b9718aa9ac819256ea407af900f0.zip |
debug from php log
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index b0d33e055..c635fdb17 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -291,6 +291,12 @@ class Libzot { } $m = parse_url($url); + + if (!$m) { + logger('zot_refresh: could not parse url'); + return false; + } + $site_url = unparse_url([ 'scheme' => $m['scheme'], 'host' => $m['host'] ]); $s = q("select site_dead from site where site_url = '%s' limit 1", |