diff --git a/index.php b/index.php index f325d68..f26979a 100644 --- a/index.php +++ b/index.php @@ -9,7 +9,7 @@ $slug = $_GET['slug']; if ('@' == $slug) { - $url = 'http://twitter.com/' . TWITTER_USERNAME; + $url = 'https://twitter.com/' . TWITTER_USERNAME; } else if (' ' == $slug) { // + $url = 'https://plus.google.com/u/0/' . GOOGLE_PLUS_ID . '/posts'; } else { @@ -17,7 +17,7 @@ $slug = preg_replace('/[^a-z0-9]/si', '', $slug); if (is_numeric($slug) && strlen($slug) > 8) { - $url = 'http://twitter.com/' . TWITTER_USERNAME . '/status/' . $slug; + $url = 'https://twitter.com/' . TWITTER_USERNAME . '/status/' . $slug; } else { $db = new MySQLi(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE); @@ -43,4 +43,4 @@ $attributeValue = htmlspecialchars($url); ?> -Continue \ No newline at end of file +Continue