diff --git a/common.php b/common.php index c9d7f63..4e661a8 100644 --- a/common.php +++ b/common.php @@ -2064,7 +2064,7 @@ function render_list($path = '', $files = []) $html = str_replace('', getconstStr('ClicktoEdit'), $html); $html = str_replace('', getconstStr('CancelEdit'), $html); $html = str_replace('', getconstStr('Save'), $html); - while (strpos($html, '')) $html = str_replace('', htmlspecialchars(curl('GET', $files['url'], '', '', 0, 1)['body']), $html); + while (strpos($html, '')) $html = str_replace('', htmlspecialchars(curl('GET', $files['url'], '', [], 0, 1)['body']), $html); //while (strpos($html, '')) $html = str_replace('', htmlspecialchars(get_content(spurlencode(path_format(urldecode($path) . '/' . $files['name']), '/'))['content']['body']), $html); $html = str_replace('', getconstStr('FileNotSupport'), $html);