cn.status.im/yt.php

14 lines
356 B
PHP
Raw Normal View History

2017-05-01 14:15:02 +00:00
<?php
$opt = $_SERVER['QUERY_STRING'];
$urls = array(
"blog" => "https://blog.status.im",
"twitter" => "https://twitter.com/ethstatus",
"slack" => "http://slack.status.im",
"wiki" => "https://wiki.status.im"
);
if (array_key_exists($opt, $urls)) {
header('Location: '.$urls[$opt]);
} else {
header('Location: https://status.im');
}