mirror of
https://github.com/typemill/typemill.git
synced 2025-08-04 21:27:41 +02:00
moved assets to middleware for proxy detection
This commit is contained in:
@@ -267,11 +267,11 @@ class Folder
|
||||
}
|
||||
}
|
||||
|
||||
public static function getItemForUrl($folderContentDetails, $url, $baseUrl, $result = NULL)
|
||||
public static function getItemForUrl($folderContentDetails, $url, $baseUrl, $result = NULL, $home = NULL )
|
||||
{
|
||||
|
||||
# if we are on the homepage
|
||||
if($url == '/' OR $url == $baseUrl)
|
||||
if($home)
|
||||
{
|
||||
# return a standard item-object
|
||||
$item = new \stdClass;
|
||||
|
Reference in New Issue
Block a user