mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
parent
296dc7df94
commit
0e299f7166
3 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,7 @@ if (file_exists("../videos/configuration.php")) {
|
|||
exit;
|
||||
}
|
||||
|
||||
$installationVersion = "12.3";
|
||||
$installationVersion = "12.4";
|
||||
|
||||
error_log("Installation: ".__LINE__." ". json_encode($_POST));
|
||||
header('Content-Type: application/json');
|
||||
|
|
|
@ -80,12 +80,12 @@ foreach ($scanVars as $value) {
|
|||
if (!empty($scanThis[$value])) {
|
||||
if (is_string($scanThis[$value])) {
|
||||
$scanThis[$value] = fixQuotesIfSafari($scanThis[$value]);
|
||||
$scanThis[$value] = str_replace("'", "", trim($scanThis[$value]));
|
||||
$scanThis[$value] = str_replace(array("'","`"), array('', ''), trim($scanThis[$value]));
|
||||
} elseif (is_array($scanThis[$value])) {
|
||||
foreach ($scanThis[$value] as $key => $value2) {
|
||||
if (is_string($scanThis[$value][$key])) {
|
||||
$scanThis[$value] = fixQuotesIfSafari($scanThis[$value]);
|
||||
$scanThis[$value][$key] = str_replace("'", "", trim($scanThis[$value][$key]));
|
||||
$scanThis[$value][$key] = str_replace(array("'","`"), array('', ''), trim($scanThis[$value][$key]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
1
updatedb/updateDb.v12.4.sql
Normal file
1
updatedb/updateDb.v12.4.sql
Normal file
|
@ -0,0 +1 @@
|
|||
UPDATE configurations SET version = '12.4', modified = now() WHERE id = 1;
|
Loading…
Add table
Add a link
Reference in a new issue