remove old site name from submit message
This commit is contained in:
parent
e47ede6bf9
commit
b4060ece54
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
|||
require 'common.php';
|
||||
if (submitSite($name, $url, $summary, $category)) {
|
||||
session_destroy();
|
||||
echo("<html><head><link rel=\"stylesheet\" href=\"/css/main.css\" id=\"pagestyle\"><title>SiteShare | Success</title><body><p>Your site was submitted. Click <a href=\"/\">here</a> to go back to the homepage.</p></body></html>");
|
||||
echo("<html><head><link rel=\"stylesheet\" href=\"/css/main.css\" id=\"pagestyle\"><title>" . constant("sitename") . " | Success</title><body><p>Your site was submitted. Click <a href=\"/\">here</a> to go back to the homepage.</p></body></html>");
|
||||
die();
|
||||
} else {
|
||||
echo("Error");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue