mirror of
https://github.com/slawkens/myaac.git
synced 2026-04-25 11:53:31 +02:00
Merge branch 'main' into develop
This commit is contained in:
@@ -47,7 +47,6 @@ if(isset($_REQUEST['name']))
|
||||
|
||||
if(empty($name))
|
||||
{
|
||||
$tmp_link = getPlayerLink($name);
|
||||
echo 'Here you can get detailed information about a certain player on ' . $config['lua']['serverName'] . '.<br/>';
|
||||
echo generate_search_form(true);
|
||||
return;
|
||||
|
||||
@@ -108,8 +108,9 @@ $title = 'Latest News';
|
||||
$cache = Cache::getInstance();
|
||||
|
||||
$news_cached = false;
|
||||
if($cache->enabled())
|
||||
if($cache->enabled() && !admin()) {
|
||||
$news_cached = News::getCached(NEWS);
|
||||
}
|
||||
|
||||
if(!$news_cached)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user