ver. 0.285: Tpl → Shared\Tpl namespace, CurlServer removal, thumb.php fix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ class Banners
|
||||
{
|
||||
public static function banners($banners)
|
||||
{
|
||||
$tpl = new \Tpl;
|
||||
$tpl = new \Shared\Tpl\Tpl;
|
||||
$tpl->banners = $banners;
|
||||
return $tpl->render('banner/banners');
|
||||
}
|
||||
@@ -13,7 +13,7 @@ class Banners
|
||||
public static function mainBanner($banner)
|
||||
{
|
||||
if (!\Shared\Helpers\Helpers::get_session('banner_close') && is_array($banner)) {
|
||||
$tpl = new \Tpl;
|
||||
$tpl = new \Shared\Tpl\Tpl;
|
||||
$tpl->banner = $banner;
|
||||
return $tpl->render('banner/main-banner');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user