Add i2p links
This commit is contained in:
@ -111,9 +111,12 @@ function menu(string $title = ''): void
|
|||||||
if(isset($_SERVER['HTTP_HOST']) && preg_match('/danwin1210\.de$/', $_SERVER['HTTP_HOST'])){
|
if(isset($_SERVER['HTTP_HOST']) && preg_match('/danwin1210\.de$/', $_SERVER['HTTP_HOST'])){
|
||||||
$host='https://danwin1210.de';
|
$host='https://danwin1210.de';
|
||||||
$onions='https://onions.danwin1210.de';
|
$onions='https://onions.danwin1210.de';
|
||||||
}else{
|
}elseif(isset($_SERVER['HTTP_HOST']) && preg_match('/\.onion$/', $_SERVER['HTTP_HOST'])){
|
||||||
$host='http://danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion';
|
$host='http://danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion';
|
||||||
$onions='http://donionsixbjtiohce24abfgsffo2l4tk26qx464zylumgejukfq2vead.onion';
|
$onions='http://donionsixbjtiohce24abfgsffo2l4tk26qx464zylumgejukfq2vead.onion';
|
||||||
|
}else{
|
||||||
|
$host='http://edk3pz64esvpy6bqpjtlqat3h7unwzxmvrrhjeg2ab43d6zfkzpa.b32.i2p';
|
||||||
|
$onions='http://zdmhl2zydlw5soy3jpaofbpq3pmuxc7trx2lfubeqryqd266jl4q.b32.i2p';
|
||||||
}
|
}
|
||||||
echo "<a href=\"$host/\">"._('Home').'</a>';
|
echo "<a href=\"$host/\">"._('Home').'</a>';
|
||||||
echo "<a href=\"$host/chat/\">"._('Chat').'</a>';
|
echo "<a href=\"$host/chat/\">"._('Chat').'</a>';
|
||||||
|
Reference in New Issue
Block a user