Auto update does work now

This commit is contained in:
Michael 2018-01-04 15:58:07 +00:00
parent ade987db47
commit 2317a3b81f

View file

@ -12,7 +12,11 @@ function update_community_content(App $a) {
echo "<!DOCTYPE html><html><body>\r\n";
echo "<section>";
$text = community_content($a, true);
if ($_GET["force"] == 1) {
$text = community_content($a, true);
} else {
$text = '';
}
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
$replace = "<img\${1} dst=\"\${2}\"";