Turn array() to [] and add timeadded to links submitted via onion.php

This commit is contained in:
Daniel Winzen
2016-09-29 08:07:16 +02:00
parent 2e8f51080c
commit 5d8b8daed8
6 changed files with 23 additions and 23 deletions

View File

@ -39,10 +39,10 @@ $categories=['Unsorted', 'Adult/Porn', 'Communication/Social', 'Cryptocurrencies
// Language selection
$L=array(
$L=[
'de' => 'Deutsch',
'en' => 'English',
);
];
if(isSet($_REQUEST['lang']) && isSet($L[$_REQUEST['lang']])){
$language=$_REQUEST['lang'];
if(!isSet($_COOKIE['language']) || $_COOKIE['language']!==$language){