このコミットが含まれているのは:
守矢諏訪子 2022-05-14 05:25:18 +09:00
コミット 6573917d97
2個のファイルの変更2行の追加1行の削除

ファイルの表示

@ -28,7 +28,7 @@
$newdata = json_encode($arr); $newdata = json_encode($arr);
file_put_contents('links.json', $newdata); file_put_contents('links.json', $newdata);
header('Location: /submitted?newurl='.$newstring); header('Location: /?newurl='.$newstring);
} }
else if (null === $_GET['url'] && null !== $_GET['newurl']) { else if (null === $_GET['url'] && null !== $_GET['newurl']) {
$newurl = $_GET['newurl']; $newurl = $_GET['newurl'];

ファイルの表示

@ -32,6 +32,7 @@ h1, .footer {
input[type="text"], input[type="submit"] { input[type="text"], input[type="submit"] {
background-color: #683c7a; background-color: #683c7a;
color: #fcfcfc;
border: 1px #f9f groove; border: 1px #f9f groove;
border-radius: 2px; border-radius: 2px;
margin: 4px; auto; margin: 4px; auto;