Auto update does work now
This commit is contained in:
@@ -12,7 +12,11 @@ function update_community_content(App $a) {
|
|||||||
echo "<!DOCTYPE html><html><body>\r\n";
|
echo "<!DOCTYPE html><html><body>\r\n";
|
||||||
echo "<section>";
|
echo "<section>";
|
||||||
|
|
||||||
|
if ($_GET["force"] == 1) {
|
||||||
$text = community_content($a, true);
|
$text = community_content($a, true);
|
||||||
|
} else {
|
||||||
|
$text = '';
|
||||||
|
}
|
||||||
|
|
||||||
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
|
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
|
||||||
$replace = "<img\${1} dst=\"\${2}\"";
|
$replace = "<img\${1} dst=\"\${2}\"";
|
||||||
|
|||||||
Reference in New Issue
Block a user