This commit is contained in:
Li 2022-09-21 21:31:54 +12:00
commit 60af898d7f
1 changed files with 9 additions and 3 deletions

View File

@ -62,7 +62,7 @@
$game = str_replace("*", "",$game);
$title = getTitle($game);
$description = $title . " - ";
$description .= getDesc($game)." - ";
$description .= getDesc($game);
$description .= " - PSMReborn #1 place for all PSM Content";
$image .= 'http://'.$_SERVER['HTTP_HOST'].'/gameinfo/'.$game.'/icon_512x512.png';
}
@ -89,8 +89,14 @@
$description = "PSMReborn is the largest archive of PlayStation Mobile content on the internet containing Games, SDK's, Source Code, and Unity for PSM exporters.";
}
$descsocial = str_replace("<br>", PHP_EOL, $description);
$descsocial = str_replace('"', '\\"', $descsocial);
$descsocial = str_replace("<BR>", PHP_EOL, $description);
$descsocial = str_replace("<bR>", PHP_EOL, $descsocial);
$descsocial = str_replace("<Br>", PHP_EOL, $descsocial);
$descsocial = str_replace("<br>", PHP_EOL, $descsocial);
$descsocial = str_replace('"', '', $descsocial);
$descsocial = str_replace("'", "", $descsocial);
/*
* Write metadata
*/