Phalcon Framework 3.4.4

Phalcon\Cache\Exception: Cache file /home/admin/web/mintrans.uz/public_html/public/../app/../data/cache/backend/b03e23f805f07897f794b8ce57014e61 could not be written

/home/admin/web/mintrans.uz/public_html/app/modules/Application/Cache/Manager.php (23)
#0Phalcon\Cache\Backend\File->save(b03e23f805f07897f794b8ce57014e61, Object(Phalcon\Mvc\Model\Row), 60)
/home/admin/web/mintrans.uz/public_html/app/modules/Application/Cache/Manager.php (23)
<?php
 
namespace Application\Cache;
 
use Phalcon\Mvc\User\Component;
 
class Manager extends Component
{
    /**
     * Get cache data. If data not exists, generate data and save to cache
     */
    public function load($key, $closure, $lifetime = 60)
    {
        if (is_array($key)) {
            $key = $this->key($key);
        }
        if ($lifetime == 0) {
            return $closure();
        }
        $data = $this->cache->get($key, $lifetime);
        if (!$data) {
            $data = $closure();
            $this->cache->save($key, $data, $lifetime);
        }
        return $data;
    }
 
    public function save($key, $data, $lifetime)
    {
        if (is_array($key)) {
            $key = $this->key($key);
        }
        $this->cache->save($key, $data, $lifetime);
    }
 
    public function delete($key)
    {
        if (is_array($key)) {
            $key = $this->key($key);
        }
        $this->cache->delete($key);
    }
 
    public function key(array $params = [])
    {
        return md5(serialize($params));
    }
 
}
#1Application\Cache\Manager->load(b03e23f805f07897f794b8ce57014e61, Object(Closure), 60)
/home/admin/web/mintrans.uz/public_html/app/modules/Publication/Model/Helper/PublicationHelper.php (37)
<?php
 
namespace Publication\Model\Helper;
 
use Application\Cache\Keys;
use Publication\Model\Publication;
 
class PublicationHelper extends Publication
{
 
    public function publicationBySlug($slug, $lang = null, $lifeTime = 60)
    {
        $lang = ($lang) ? $lang : LANG;
 
        $publicationResult = $this->getDi()->get('cacheManager')->load([
            Keys::PUBLICATION,
            $slug,
            $lang
 
        ], function() use ($slug, $lang, $lifeTime) {
            $columns = [
                'p.*',
                't_slug' => 't.slug'
            ];
            $fields = $this->translateFieldsSubQuery($lang);
            $columns = array_merge($columns, $fields);
 
            $qb = $this->modelsManager->createBuilder()
                ->columns($columns)
                ->addFrom('Publication\Model\Publication', 'p')
                ->innerJoin('Publication\Model\Type', 'p.type_id = t.id', 't')
                ->where('p.slug = :slug:', ['slug' => $slug]);
 
            $result = $qb->getQuery()->execute()->getFirst();
            return $result;
 
        }, $lifeTime);
 
        return $publicationResult;
    }
 
    public function translateFieldsSubQuery($lang = null)
    {
        $lang = ($lang) ? $lang : LANG;
        
        $fields = [];
        foreach($this->translateFields as $field) {
            $fields[] = "(SELECT tr.value FROM [$this->translateModel] AS tr WHERE tr.foreign_id = p.id AND tr.lang = '$lang' AND tr.key = '$field') AS $field";
        }
        return $fields;
    }
 
}
#2Publication\Model\Helper\PublicationHelper->publicationBySlug(o-zbekiston-va-turkmaniston-o-rtasida-transport-sohasidagi-hamkorlikni-rivojlantirish-masalalari-muhokama-qilindi)
/home/admin/web/mintrans.uz/public_html/app/modules/Publication/Controller/IndexController.php (270)
<?php
 
namespace Publication\Controller;
 
use Application\Mvc\Controller;
use Publication\Model\Helper\PublicationHelper;
use Publication\Model\Publication;
use Phalcon\Exception;
use Publication\Model\Type;
use Publication\Model\Tag;
use Cms\Model\Settings;
 
class IndexController extends Controller
{
 
    public function indexAction()
    {
        $type      = $this->dispatcher->getParam('type', 'string');
        $typeModel = Type::getCachedBySlug($type);
        if (!$typeModel) {
            throw new Exception("Publication hasn't type = '$type''");
        }
 
        $typeLimit = ($typeModel->getLimit()) ? $typeModel->getLimit() : 10;
        $limit     = $this->request->getQuery('limit', 'string', $typeLimit);
        if ($limit != 'all') {
            $paginatorLimit = (int)$limit;
        } else {
            $paginatorLimit = 9999;
        }
        $page = $this->request->getQuery('page', 'int', 1);
 
        /*$publications = Publication::find(array(
            "type_id = {$typeModel->getId()}",
            "order" => "date DESC",
        ));*/
 
        $publicationHelper = new PublicationHelper();
        $fields = $publicationHelper->translateFieldsSubQuery();
 
        $columns = ['p.*', 't_slug' => 't.slug'];
        $columns = array_merge($columns, $fields);
 
        $qb = $this->modelsManager->createBuilder()
            ->columns($columns)
            ->addFrom('Publication\Model\Publication', 'p')
            ->leftJoin('Publication\Model\Type', null, 't')
            ->andWhere('t.slug = :type:', ['type' => $type])
            ->andWhere('p.date <= NOW()')
            ->orderBy('p.date DESC');
 
        $paginator = new \Phalcon\Paginator\Adapter\QueryBuilder([
            "builder"  => $qb,
            "limit" => $paginatorLimit,
            "page"  => $page
        ]);
 
        $this->view->paginate = $paginator->getPaginate();
 
        $settings = Settings::findFirst(1);
        $curLang = $this->helper->currentUrl(LANG);
        $meta_url = $this->helper->base_url().$curLang.$type;
        $meta_image = $this->helper->base_url().'/'.$settings->getLogo();
        
        if(!$typeModel->getMetaTitle()){
            $this->helper->title()->append($typeModel->getTitle());
            $this->helper->meta()->set('title', $typeModel->getTitle());
        }
        if($typeModel->getMetaTitle()){
            $this->helper->title()->append($typeModel->getMetaTitle());
            $this->helper->meta()->set('title', $typeModel->getMetaTitle());
        }
 
        $this->helper->meta()->set('description', $typeModel->getMetaDescription());
        $this->helper->meta()->set('type', 'article');
        $this->helper->meta()->set('site_name', $settings->getSiteName());
        $this->helper->meta()->set('url', $meta_url);
        $this->helper->meta()->set('image', $meta_image);
 
        if($typeModel->getIndexPage() == 1)        
            $this->helper->meta()->set('robots', 'noindex, nofollow');
       
        if ($page > 1) {
            $this->helper->title()->append($this->helper->translate('Страница №') . ' ' . $page);
        }
        $this->view->title  = $typeModel->getTitle();
        $this->view->format = $typeModel->getFormat();
        $this->view->type   = $type;
 
        $this->helper->menu->setActive($type);
    }
 
    public function archiveAction()
    {
        $tag = $this->dispatcher->getParam('slug', 'string');
        $tag = htmlspecialchars($tag);
        $the_tag = Tag::findFirst([
            'conditions' => 'tag = ?1',
            'bind' => [
                1 => $tag
            ]
        ]);
        if(!$the_tag){
            $this->redirect($this->url->get(). '404');
        }
        $typeLimit = 10;
        $limit     = $this->request->getQuery('limit', 'string', $typeLimit);
        if ($limit != 'all') {
            $paginatorLimit = (int)$limit;
        } else {
            $paginatorLimit = 9999;
        }
        $page = $this->request->getQuery('page', 'int', 1);
 
        $publicationHelper = new PublicationHelper();
        $fields = $publicationHelper->translateFieldsSubQuery();
 
        $columns = ['p.*', 't_slug' => 't.slug','a.*'];
        $columns = array_merge($columns, $fields);
 
        $qb = $this->modelsManager->createBuilder()
            ->columns($columns)
            ->addFrom('Publication\Model\Publication', 'p')
            ->leftJoin('Publication\Model\Type', null, 't')
            ->leftJoin('Publication\Model\Tag', null, 'a')
            ->andWhere('t.slug = :type:', ['type' => 'news'])
            ->andWhere('a.tag = :tag:', ['tag' => $tag])
            ->andWhere('p.date <= NOW()')
            ->orderBy('p.date DESC');
 
        $paginator = new \Phalcon\Paginator\Adapter\QueryBuilder([
            "builder"  => $qb,
            "limit" => $paginatorLimit,
            "page"  => $page
        ]);
 
        $this->view->paginate = $paginator->getPaginate();
 
        $settings = Settings::findFirst(1);
        $curLang = $this->helper->currentUrl(LANG);
        $meta_url = $this->helper->base_url().$curLang.$type;
        $meta_image = $this->helper->base_url().'/'.$settings->getLogo();
        $tag_title = $this->helper->translateTag($tag);
        $this->helper->title()->append($tag_title);
        $this->helper->meta()->set('title', $tag_title);
        
 
        $this->helper->meta()->set('description', $settings->getSiteName() . ' ' .$tag_title);
        $this->helper->meta()->set('type', 'article');
        $this->helper->meta()->set('site_name', $settings->getSiteName());
        $this->helper->meta()->set('url', $meta_url);
        $this->helper->meta()->set('image', $meta_image);
 
        $this->helper->meta()->set('robots', 'noindex, nofollow');
       
        if ($page > 1) {
            $this->helper->title()->append($this->helper->translate('Страница №') . ' ' . $page);
        }
        $this->view->title  = $tag_title;
        $this->view->format = 'grid';
    }
 
    public function archiveIndexAction()
    {
        $tags = Tag::find();
 
        $settings = Settings::findFirst(1);
        $curLang = $this->helper->currentUrl(LANG);
        $meta_url = $this->helper->base_url().$curLang.$type;
        $meta_image = $this->helper->base_url().'/'.$settings->getLogo();
        $tag_title = $this->helper->translate('Tags');
        $this->helper->title()->append($tag_title);
        $this->helper->meta()->set('title', $tag_title);
        
 
        $this->helper->meta()->set('description', $settings->getSiteName() . ' ' .$tag_title);
        $this->helper->meta()->set('type', 'article');
        $this->helper->meta()->set('site_name', $settings->getSiteName());
        $this->helper->meta()->set('url', $meta_url);
        $this->helper->meta()->set('image', $meta_image);
 
        $this->helper->meta()->set('robots', 'noindex, nofollow');
       
        if ($page > 1) {
            $this->helper->title()->append($this->helper->translate('Страница №') . ' ' . $page);
        }
        // $this->view->title  = $tag_title;
        $this->view->format = 'grid';
        $this->view->tags = $tags;
    }
 
    public function servicesAction()
    {
        $type = 'services';        
        $typeModel = Type::getCachedBySlug($type);
        if (!$typeModel) {
            throw new Exception("Publication hasn't type = '$type'");
        }
 
        $typeLimit = ($typeModel->getLimit()) ? $typeModel->getLimit() : 10;
        $limit     = $this->request->getQuery('limit', 'string', $typeLimit);
        if ($limit != 'all') {
            $paginatorLimit = (int)$limit;
        } else {
            $paginatorLimit = 9999;
        }
        $page = $this->request->getQuery('page', 'int', 1);        
 
        $publicationHelper = new PublicationHelper();
        $fields = $publicationHelper->translateFieldsSubQuery();
 
        $columns = ['p.*', 't_slug' => 't.slug'];
        $columns = array_merge($columns, $fields);
 
        $qb = $this->modelsManager->createBuilder()
            ->columns($columns)
            ->addFrom('Publication\Model\Publication', 'p')
            ->leftJoin('Publication\Model\Type', null, 't')
            ->andWhere('t.slug = :type:', ['type' => 'services'])
            ->andWhere('p.date <= NOW()')
            ->orderBy('p.date DESC');
 
        $paginator = new \Phalcon\Paginator\Adapter\QueryBuilder([
            "builder"  => $qb,
            "limit" => $paginatorLimit,
            "page"  => $page
        ]);
 
        $this->view->paginate = $paginator->getPaginate();
 
        $settings = Settings::findFirst(1);
        $curLang = $this->helper->currentUrl(LANG);
        $meta_url = $this->helper->base_url().$curLang.$type;
        $meta_image = $this->helper->base_url().'/'.$settings->getLogo();
        
        if(!$typeModel->getMetaTitle()){
            $this->helper->title()->append($typeModel->getTitle());
            $this->helper->meta()->set('title', $typeModel->getTitle());
        }
        if($typeModel->getMetaTitle()){
            $this->helper->title()->append($typeModel->getMetaTitle());
            $this->helper->meta()->set('title', $typeModel->getMetaTitle());
        }
 
        $this->helper->meta()->set('description', $typeModel->getMetaDescription());
        $this->helper->meta()->set('type', 'article');
        $this->helper->meta()->set('site_name', $settings->getSiteName());
        $this->helper->meta()->set('url', $meta_url);
        $this->helper->meta()->set('image', $meta_image);
 
        if($typeModel->getIndexPage() == 1)        
            $this->helper->meta()->set('robots', 'noindex, nofollow');
 
        if ($page > 1) {
            $this->helper->title()->append($this->helper->translate('Страница №') . ' ' . $page);
        }
        $this->view->title  = $typeModel->getTitle();
        $this->view->format = $typeModel->getFormat();
        $this->view->type   = $type;
 
        $this->helper->menu->setActive($type);
    }
 
    public function publicationAction()
    {
        $slug = $this->dispatcher->getParam('slug', 'string');
        $type = $this->dispatcher->getParam('type', 'string');
 
        $publicationHelper = new PublicationHelper();
        $publicationResult = $publicationHelper->publicationBySlug($slug);
        if (!$publicationResult) {
            throw new Exception("Publication '$slug.html' not found");
        }
        if ($publicationResult->p->getTypeSlug() != $type) {
            throw new Exception("Publication type <> $type");
        }
 
        $otherPosts = Publication::find([
            'conditions' => 'id != ?1 AND type_id = ?2',
            'limit' => 2,
            "order" => "id DESC",
            'bind' => [
                1 => $publicationResult->p->getId(),
                2 => 1
            ]
        ]);
 
        $settings = Settings::findFirst(1);
        $curLang = $this->helper->currentUrl(LANG);
        $meta_url = $this->helper->base_url().$curLang.$type.'/'.$slug;
        $meta_image = $this->helper->base_url().'/'.$publicationResult->p->preview_src;
 
        if(!$publicationResult->meta_title){
            $this->helper->title()->append($publicationResult->title);
            $this->helper->meta()->set('title', $publicationResult->title);
        }
        if($publicationResult->meta_title){
            $this->helper->title()->append($publicationResult->meta_title);
            $this->helper->meta()->set('title', $publicationResult->meta_title);
        }
 
        $this->helper->meta()->set('description', $publicationResult->meta_description);
        $this->helper->meta()->set('type', 'article');
        $this->helper->meta()->set('site_name', $settings->getSiteName());
        $this->helper->meta()->set('url', $meta_url);
        $this->helper->meta()->set('image', $meta_image);
 
        if($publicationResult->p->index_page == 1)        
            $this->helper->meta()->set('robots', 'noindex, nofollow');        
 
        $this->helper->menu->setActive($type);
 
        $lifetime = 60*60;
        $session_name = $publicationResult->p->getId().'_MINTRANS_UZ';
        if(!isset($_COOKIE[$session_name])){
            session_start();
            setcookie($session_name,session_id(),time()+$lifetime);
            $viewsCount = $publicationResult->p->getViews() + 1;
            $publicationResult->p->setViews($viewsCount);
            $publicationResult->p->save();
        }
        if(count($otherPosts) > 0){
            $this->view->otherPosts = $otherPosts;
        }
 
        $this->view->publicationResult = $publicationResult;
    }
 
    public function likedAction()
    {
        if($this->request->isPost()){
            $id = (int) $this->request->getPost('id');
            $status = $this->request->getPost('status');
            $publicationResult = Publication::findFirst($id);
            if($publicationResult){
                $lifetime = 60*60;
                if($status == 'like'){
                    $session_name = $publicationResult->getId().'_MINTRANS_UZ_LIKE';
                    $likesCount = $publicationResult->getLikes() + 1;
                    if(!isset($_COOKIE[$session_name])){
                        session_start();
                        setcookie($session_name,session_id(),time()+$lifetime);
                        $publicationResult->setLikes($likesCount);
                        $publicationResult->save();
                        $this->returnJSON(['success' => true,'message' => 'Super','count' => $publicationResult->getLikes()]);
                        exit;
                    }else{
                        $session_dislike_name = $publicationResult->getId().'_MINTRANS_UZ_DISLIKE';
                        $likesCount = $publicationResult->getLikes() + 1;
                        if(isset($_COOKIE[$session_dislike_name])){
                            $publicationResult->setLikes($likesCount);
                            $publicationResult->save();
                            setcookie($session_dislike_name, null, -1);
                            $this->returnJSON(['success' => true,'message' => 'Super','count' => $publicationResult->getLikes()]);
                            exit;
                        }
                        $this->returnJSON(['error' => true,'message' => 'Already liked','count' => $publicationResult->getLikes()]);
                        exit;
                    }
                }elseif($status == 'dislike'){
                    $likesCount = $publicationResult->getLikes() - 1;
                    $session_name = $publicationResult->getId().'_MINTRANS_UZ_DISLIKE';
                    if(!isset($_COOKIE[$session_name])){
                        session_start();
                        setcookie($session_name,session_id(),time()+$lifetime);
                        $publicationResult->setLikes($likesCount);
                        $publicationResult->save();
                        $this->returnJSON(['success' => true,'message' => 'Super','count' => $publicationResult->getLikes()]);
                        exit;
                    }
                }else{
                    $this->returnJSON(['error' => true,'message' => 'Already liked','count' => $publicationResult->getLikes()]);
                    exit;
                }
            }
        }
        $this->returnJSON(['error' => true,'message' => 'Something went wrong...']);
    }
 
}
#3Publication\Controller\IndexController->publicationAction(uz, news, o-zbekiston-va-turkmaniston-o-rtasida-transport-sohasidagi-hamkorlikni-rivojlantirish-masalalari-muhokama-qilindi)
#4Phalcon\Dispatcher->callActionMethod(Object(Publication\Controller\IndexController), publicationAction, Array([lang] => uz, [type] => news, [slug] => o-zbekiston-va-turkmaniston-o-rtasida-transport-sohasidagi-hamkorlikni-rivojlantirish-masalalari-muhokama-qilindi))
#5Phalcon\Dispatcher->dispatch()
/home/admin/web/mintrans.uz/public_html/app/Bootstrap.php (307)
<?php
 
namespace Eskiz;
use Application\Cache\Manager as CacheManager;
 
/**
 * Bootstrap
 */
 
class Bootstrap
{
 
    public function run()
    {
        $di = new \Phalcon\DI\FactoryDefault();
 
        // Config
        require_once APPLICATION_PATH . '/modules/Cms/Config.php';
        $config = \Cms\Config::get();
        $di->set('config', $config);
 
        // Registry
        $registry = new \Phalcon\Registry();
        $di->set('registry', $registry);
 
        // Loader
        $loader = new \Phalcon\Loader();
        $loader->registerNamespaces($config->loader->namespaces->toArray());
        $loader->registerDirs([APPLICATION_PATH . "/plugins/"]);
        $loader->register();
        require_once APPLICATION_PATH . '/../vendor/autoload.php';
 
        // Database
        $db = new \Phalcon\Db\Adapter\Pdo\Mysql([
            "host"     => $config->database->host,
            "username" => $config->database->username,
            "password" => $config->database->password,
            "dbname"   => $config->database->dbname,
            "charset"  => $config->database->charset,
        ]);
        $di->set('db', $db);
 
        // View
        $this->initView($di);
 
        // URL
        $url = new \Phalcon\Mvc\Url();
        $url->setBasePath($config->base_path);
        $url->setBaseUri($config->base_path);
        $di->set('url', $url);
 
        // Cache
        $this->initCache($di);
 
        // CMS
        $cmsModel = new \Cms\Model\Configuration();
        $registry->cms = $cmsModel->getConfig(); // Отправляем в Registry
 
        // Application
        $application = new \Phalcon\Mvc\Application();
        $application->registerModules($config->modules->toArray());
 
        // Events Manager, Dispatcher
        $this->initEventManager($di);
 
        // Session
        $session = new \Phalcon\Session\Adapter\Files();
        $session->start();
        $di->set('session', $session);
 
        $acl = new \Application\Acl\DefaultAcl();
        $di->set('acl', $acl);
 
        // JS Assets
        $this->initAssetsManager($di);
 
        // Flash helper
        $flash = new \Phalcon\Flash\Session([
            'error'   => 'ui red inverted segment',
            'success' => 'ui green inverted segment',
            'notice'  => 'ui blue inverted segment',
            'warning' => 'ui orange inverted segment',
        ]);
        $di->set('flash', $flash);
 
        $di->set('helper', new \Application\Mvc\Helper());
 
        // Routing
        $this->initRouting($application, $di);
 
        $application->setDI($di);
 
        // Main dispatching process
        $this->dispatch($di);
 
    }
 
    private function initRouting($application, $di)
    {
        $router = new \Application\Mvc\Router\DefaultRouter();
        $router->setDi($di);
        foreach ($application->getModules() as $module) {
            $routesClassName = str_replace('Module', 'Routes', $module['className']);
            if (class_exists($routesClassName)) {
                $routesClass = new $routesClassName();
                $router = $routesClass->init($router);
            }
            $initClassName = str_replace('Module', 'Init', $module['className']);
            if (class_exists($initClassName)) {
                new $initClassName();
            }
        }
        $di->set('router', $router);
    }
 
    private function initAssetsManager($di)
    {
        $config = $di->get('config');
        $assetsManager = new \Application\Assets\Manager();
        $js_collection = $assetsManager->collection('js')
            ->setLocal(true)
            ->addFilter(new \Phalcon\Assets\Filters\Jsmin())
            ->setTargetPath(ROOT . '/assets/admin/js/js.js')
            ->setTargetUri('assets/admin/js/js.js')
            ->join(true);
        if ($config->assets->js) {
            foreach ($config->assets->js as $js) {
                $js_collection->addJs(ROOT . '/' . $js);
            }
        }
 
        // Admin JS Assets
        $assetsManager->collection('modules-admin-js')
            ->setLocal(true)
            ->addFilter(new \Phalcon\Assets\Filters\Jsmin())
            ->setTargetPath(ROOT . '/assets/admin/js/modules-admin.js')
            ->setTargetUri('assets/admin/js/modules-admin.js')
            ->join(true);
 
        // Admin LESS Assets
        $assetsManager->collection('modules-admin-less')
            ->setLocal(true)
            ->addFilter(new \Application\Assets\Filter\Less())
            ->setTargetPath(ROOT . '/assets/admin/js/modules-admin.less')
            ->setTargetUri('assets/admin/js/modules-admin.less')
            ->join(true)
            ->addCss(APPLICATION_PATH . '/modules/Admin/assets/admin.less');
 
        $di->set('assets', $assetsManager);
    }
 
    private function initEventManager($di)
    {
        $eventsManager = new \Phalcon\Events\Manager();
        $dispatcher = new \Phalcon\Mvc\Dispatcher();
 
        $eventsManager->attach("dispatch:beforeDispatchLoop", function ($event, $dispatcher) use ($di) {
            new \Eskiz\Plugin\CheckPoint($di->get('request'));
            new \Eskiz\Plugin\Localization($dispatcher);
            new \Eskiz\Plugin\AdminLocalization($di->get('config'));
            new \Eskiz\Plugin\Acl($di->get('acl'), $dispatcher, $di->get('view'));
            new \Eskiz\Plugin\MobileDetect($di->get('session'), $di->get('view'), $di->get('request'));
        });
 
        $eventsManager->attach("dispatch:afterDispatchLoop", function ($event, $dispatcher) use ($di) {
            new \Eskiz\Plugin\Title($di);
        });
 
        // Profiler
        $registry = $di->get('registry');
        if ($registry->cms['PROFILER']) {
            $profiler = new \Phalcon\Db\Profiler();
            $di->set('profiler', $profiler);
 
            $eventsManager->attach('db', function ($event, $db) use ($profiler) {
                if ($event->getType() == 'beforeQuery') {
                    $profiler->startProfile($db->getSQLStatement());
                }
                if ($event->getType() == 'afterQuery') {
                    $profiler->stopProfile();
                }
            });
        }
 
        $db = $di->get('db');
        $db->setEventsManager($eventsManager);
 
        $dispatcher->setEventsManager($eventsManager);
        $di->set('dispatcher', $dispatcher);
    }
 
    private function initView($di)
    {
        $view = new \Phalcon\Mvc\View();
 
        define('MAIN_VIEW_PATH', '../../../views/');
        $view->setMainView(MAIN_VIEW_PATH . 'main');
        $view->setLayoutsDir(MAIN_VIEW_PATH . '/layouts/');
        $view->setLayout('main');
        $view->setPartialsDir(MAIN_VIEW_PATH . '/partials/');
 
        // Volt
        $volt = new \Application\Mvc\View\Engine\Volt($view, $di);
        $volt->setOptions(['compiledPath' => APPLICATION_PATH . '/../data/cache/volt/']);
        $volt->initCompiler();
 
 
        $phtml = new \Phalcon\Mvc\View\Engine\Php($view, $di);
        $viewEngines = [
            ".volt"  => $volt,
            ".phtml" => $phtml,
        ];
 
        $view->registerEngines($viewEngines);
 
        $ajax = $di->get('request')->getQuery('_ajax');
        if ($ajax) {
            $view->setRenderLevel(\Phalcon\Mvc\View::LEVEL_LAYOUT);
        }
 
        $di->set('view', $view);
 
        return $view;
    }
 
    private function initCache($di)
    {
        $config = $di->get('config');
 
        $cacheFrontend = new \Phalcon\Cache\Frontend\Data([
            "lifetime" => 60,
            "prefix"   => HOST_HASH,
        ]);
 
        $cache = null;
        switch ($config->cache) {
            case 'file':
                $cache = new \Phalcon\Cache\Backend\File($cacheFrontend, [
                    "cacheDir" => APPLICATION_PATH . "/../data/cache/backend/"
                ]);
                break;
            case 'memcache':
                $cache = new \Phalcon\Cache\Backend\Memcache(
                    $cacheFrontend, [
                    "host" => $config->memcache->host,
                    "port" => $config->memcache->port,
                ]);
                break;
            case 'memcached':
                $cache = new \Phalcon\Cache\Backend\Libmemcached(
                    $cacheFrontend, [
                    "host" => $config->memcached->host,
                    "port" => $config->memcached->port,
                ]);
                break;
        }
        $di->set('cache', $cache, true);
        $di->set('modelsCache', $cache, true);
 
        \Application\Widget\Proxy::$cache = $cache; // Modules Widget System
 
        $modelsMetadata = new \Phalcon\Mvc\Model\Metadata\Memory();
        $di->set('modelsMetadata', $modelsMetadata);
 
        $di->set('cacheManager', new CacheManager());
    }
 
    private function dispatch($di)
    {
        $router = $di['router'];
        $router->removeExtraSlashes(true);
        $router->handle();
        $view = $di['view'];
        $dispatcher = $di['dispatcher'];
        $response = $di['response'];        
        $dispatcher->setModuleName($router->getModuleName());
        $dispatcher->setControllerName($router->getControllerName());
        $dispatcher->setActionName($router->getActionName());
        $dispatcher->setParams($router->getParams());
        $moduleName = \Application\Utils\ModuleName::camelize($router->getModuleName());
        $params = $router->getParams();
        if($params){
          if(isset($params['slug'])){
            $params = $params['slug'];
            $lang = \Cms\Model\Language::findFirst("iso='{$params}'");        
            if($lang){            
                $dispatcher->setParams(array('lang'=>$lang->getIso(),'slug'=>'index')); 
                $moduleName = \Application\Utils\ModuleName::camelize('index');
            } 
          }  
        }  
 
        $ModuleClassName = $moduleName . '\Module';
        if (class_exists($ModuleClassName)) {
            $module = new $ModuleClassName;
            $module->registerAutoloaders();
            $module->registerServices($di);
        }
 
        $view->start();
 
        $registry = $di['registry'];
        if ($registry->cms['DEBUG_MODE']) {
            $debug = new \Phalcon\Debug();
            $debug->listen();
 
            $dispatcher->dispatch();
        } else {
            try {
                $dispatcher->dispatch();
            } catch (\Phalcon\Exception $e) {
                // Errors catching
                $view->setViewsDir(__DIR__ . '/modules/Index/views/');
                $view->setPartialsDir('');
                $view->e = $e;
                if ($e instanceof \Phalcon\Mvc\Dispatcher\Exception) {
                    $response->setStatusCode(404, 'Not Found');
                    $view->partial('error/error404');
                } else {
                    $response->setStatusCode(503, 'Service Unavailable');
                    $view->partial('error/error503');
                }
                $response->sendHeaders();
                echo $response->getContent();
                return;
            }
        }
 
        $view->render(
            $dispatcher->getControllerName(),
            $dispatcher->getActionName(),
            $dispatcher->getParams()
        );
 
        $view->finish();
        $response = $di['response'];
 
        // AJAX
        $request = $di['request'];
        $_ajax = $request->getQuery('_ajax');
        if ($_ajax) {
            $contents = $view->getContent();
            $return = new \stdClass();
            $return->html = $contents;
            $return->title = $di->get('helper')->title()->get();
            $return->success = true;
            if ($view->bodyClass) {
                $return->bodyClass = $view->bodyClass;
            }
            $headers = $response->getHeaders()->toArray();
            if (isset($headers[404]) || isset($headers[503])) {
                $return->success = false;
            }
            $response->setContentType('application/json', 'UTF-8');
            $response->setContent(json_encode($return));
        } else {
            $response->setContent($view->getContent());
        }
        $response->sendHeaders();
        echo $response->getContent();
    }
}
#6Eskiz\Bootstrap->dispatch(Object(Phalcon\Di\FactoryDefault))
/home/admin/web/mintrans.uz/public_html/app/Bootstrap.php (94)
<?php
 
namespace Eskiz;
use Application\Cache\Manager as CacheManager;
 
/**
 * Bootstrap
 */
 
class Bootstrap
{
 
    public function run()
    {
        $di = new \Phalcon\DI\FactoryDefault();
 
        // Config
        require_once APPLICATION_PATH . '/modules/Cms/Config.php';
        $config = \Cms\Config::get();
        $di->set('config', $config);
 
        // Registry
        $registry = new \Phalcon\Registry();
        $di->set('registry', $registry);
 
        // Loader
        $loader = new \Phalcon\Loader();
        $loader->registerNamespaces($config->loader->namespaces->toArray());
        $loader->registerDirs([APPLICATION_PATH . "/plugins/"]);
        $loader->register();
        require_once APPLICATION_PATH . '/../vendor/autoload.php';
 
        // Database
        $db = new \Phalcon\Db\Adapter\Pdo\Mysql([
            "host"     => $config->database->host,
            "username" => $config->database->username,
            "password" => $config->database->password,
            "dbname"   => $config->database->dbname,
            "charset"  => $config->database->charset,
        ]);
        $di->set('db', $db);
 
        // View
        $this->initView($di);
 
        // URL
        $url = new \Phalcon\Mvc\Url();
        $url->setBasePath($config->base_path);
        $url->setBaseUri($config->base_path);
        $di->set('url', $url);
 
        // Cache
        $this->initCache($di);
 
        // CMS
        $cmsModel = new \Cms\Model\Configuration();
        $registry->cms = $cmsModel->getConfig(); // Отправляем в Registry
 
        // Application
        $application = new \Phalcon\Mvc\Application();
        $application->registerModules($config->modules->toArray());
 
        // Events Manager, Dispatcher
        $this->initEventManager($di);
 
        // Session
        $session = new \Phalcon\Session\Adapter\Files();
        $session->start();
        $di->set('session', $session);
 
        $acl = new \Application\Acl\DefaultAcl();
        $di->set('acl', $acl);
 
        // JS Assets
        $this->initAssetsManager($di);
 
        // Flash helper
        $flash = new \Phalcon\Flash\Session([
            'error'   => 'ui red inverted segment',
            'success' => 'ui green inverted segment',
            'notice'  => 'ui blue inverted segment',
            'warning' => 'ui orange inverted segment',
        ]);
        $di->set('flash', $flash);
 
        $di->set('helper', new \Application\Mvc\Helper());
 
        // Routing
        $this->initRouting($application, $di);
 
        $application->setDI($di);
 
        // Main dispatching process
        $this->dispatch($di);
 
    }
 
    private function initRouting($application, $di)
    {
        $router = new \Application\Mvc\Router\DefaultRouter();
        $router->setDi($di);
        foreach ($application->getModules() as $module) {
            $routesClassName = str_replace('Module', 'Routes', $module['className']);
            if (class_exists($routesClassName)) {
                $routesClass = new $routesClassName();
                $router = $routesClass->init($router);
            }
            $initClassName = str_replace('Module', 'Init', $module['className']);
            if (class_exists($initClassName)) {
                new $initClassName();
            }
        }
        $di->set('router', $router);
    }
 
    private function initAssetsManager($di)
    {
        $config = $di->get('config');
        $assetsManager = new \Application\Assets\Manager();
        $js_collection = $assetsManager->collection('js')
            ->setLocal(true)
            ->addFilter(new \Phalcon\Assets\Filters\Jsmin())
            ->setTargetPath(ROOT . '/assets/admin/js/js.js')
            ->setTargetUri('assets/admin/js/js.js')
            ->join(true);
        if ($config->assets->js) {
            foreach ($config->assets->js as $js) {
                $js_collection->addJs(ROOT . '/' . $js);
            }
        }
 
        // Admin JS Assets
        $assetsManager->collection('modules-admin-js')
            ->setLocal(true)
            ->addFilter(new \Phalcon\Assets\Filters\Jsmin())
            ->setTargetPath(ROOT . '/assets/admin/js/modules-admin.js')
            ->setTargetUri('assets/admin/js/modules-admin.js')
            ->join(true);
 
        // Admin LESS Assets
        $assetsManager->collection('modules-admin-less')
            ->setLocal(true)
            ->addFilter(new \Application\Assets\Filter\Less())
            ->setTargetPath(ROOT . '/assets/admin/js/modules-admin.less')
            ->setTargetUri('assets/admin/js/modules-admin.less')
            ->join(true)
            ->addCss(APPLICATION_PATH . '/modules/Admin/assets/admin.less');
 
        $di->set('assets', $assetsManager);
    }
 
    private function initEventManager($di)
    {
        $eventsManager = new \Phalcon\Events\Manager();
        $dispatcher = new \Phalcon\Mvc\Dispatcher();
 
        $eventsManager->attach("dispatch:beforeDispatchLoop", function ($event, $dispatcher) use ($di) {
            new \Eskiz\Plugin\CheckPoint($di->get('request'));
            new \Eskiz\Plugin\Localization($dispatcher);
            new \Eskiz\Plugin\AdminLocalization($di->get('config'));
            new \Eskiz\Plugin\Acl($di->get('acl'), $dispatcher, $di->get('view'));
            new \Eskiz\Plugin\MobileDetect($di->get('session'), $di->get('view'), $di->get('request'));
        });
 
        $eventsManager->attach("dispatch:afterDispatchLoop", function ($event, $dispatcher) use ($di) {
            new \Eskiz\Plugin\Title($di);
        });
 
        // Profiler
        $registry = $di->get('registry');
        if ($registry->cms['PROFILER']) {
            $profiler = new \Phalcon\Db\Profiler();
            $di->set('profiler', $profiler);
 
            $eventsManager->attach('db', function ($event, $db) use ($profiler) {
                if ($event->getType() == 'beforeQuery') {
                    $profiler->startProfile($db->getSQLStatement());
                }
                if ($event->getType() == 'afterQuery') {
                    $profiler->stopProfile();
                }
            });
        }
 
        $db = $di->get('db');
        $db->setEventsManager($eventsManager);
 
        $dispatcher->setEventsManager($eventsManager);
        $di->set('dispatcher', $dispatcher);
    }
 
    private function initView($di)
    {
        $view = new \Phalcon\Mvc\View();
 
        define('MAIN_VIEW_PATH', '../../../views/');
        $view->setMainView(MAIN_VIEW_PATH . 'main');
        $view->setLayoutsDir(MAIN_VIEW_PATH . '/layouts/');
        $view->setLayout('main');
        $view->setPartialsDir(MAIN_VIEW_PATH . '/partials/');
 
        // Volt
        $volt = new \Application\Mvc\View\Engine\Volt($view, $di);
        $volt->setOptions(['compiledPath' => APPLICATION_PATH . '/../data/cache/volt/']);
        $volt->initCompiler();
 
 
        $phtml = new \Phalcon\Mvc\View\Engine\Php($view, $di);
        $viewEngines = [
            ".volt"  => $volt,
            ".phtml" => $phtml,
        ];
 
        $view->registerEngines($viewEngines);
 
        $ajax = $di->get('request')->getQuery('_ajax');
        if ($ajax) {
            $view->setRenderLevel(\Phalcon\Mvc\View::LEVEL_LAYOUT);
        }
 
        $di->set('view', $view);
 
        return $view;
    }
 
    private function initCache($di)
    {
        $config = $di->get('config');
 
        $cacheFrontend = new \Phalcon\Cache\Frontend\Data([
            "lifetime" => 60,
            "prefix"   => HOST_HASH,
        ]);
 
        $cache = null;
        switch ($config->cache) {
            case 'file':
                $cache = new \Phalcon\Cache\Backend\File($cacheFrontend, [
                    "cacheDir" => APPLICATION_PATH . "/../data/cache/backend/"
                ]);
                break;
            case 'memcache':
                $cache = new \Phalcon\Cache\Backend\Memcache(
                    $cacheFrontend, [
                    "host" => $config->memcache->host,
                    "port" => $config->memcache->port,
                ]);
                break;
            case 'memcached':
                $cache = new \Phalcon\Cache\Backend\Libmemcached(
                    $cacheFrontend, [
                    "host" => $config->memcached->host,
                    "port" => $config->memcached->port,
                ]);
                break;
        }
        $di->set('cache', $cache, true);
        $di->set('modelsCache', $cache, true);
 
        \Application\Widget\Proxy::$cache = $cache; // Modules Widget System
 
        $modelsMetadata = new \Phalcon\Mvc\Model\Metadata\Memory();
        $di->set('modelsMetadata', $modelsMetadata);
 
        $di->set('cacheManager', new CacheManager());
    }
 
    private function dispatch($di)
    {
        $router = $di['router'];
        $router->removeExtraSlashes(true);
        $router->handle();
        $view = $di['view'];
        $dispatcher = $di['dispatcher'];
        $response = $di['response'];        
        $dispatcher->setModuleName($router->getModuleName());
        $dispatcher->setControllerName($router->getControllerName());
        $dispatcher->setActionName($router->getActionName());
        $dispatcher->setParams($router->getParams());
        $moduleName = \Application\Utils\ModuleName::camelize($router->getModuleName());
        $params = $router->getParams();
        if($params){
          if(isset($params['slug'])){
            $params = $params['slug'];
            $lang = \Cms\Model\Language::findFirst("iso='{$params}'");        
            if($lang){            
                $dispatcher->setParams(array('lang'=>$lang->getIso(),'slug'=>'index')); 
                $moduleName = \Application\Utils\ModuleName::camelize('index');
            } 
          }  
        }  
 
        $ModuleClassName = $moduleName . '\Module';
        if (class_exists($ModuleClassName)) {
            $module = new $ModuleClassName;
            $module->registerAutoloaders();
            $module->registerServices($di);
        }
 
        $view->start();
 
        $registry = $di['registry'];
        if ($registry->cms['DEBUG_MODE']) {
            $debug = new \Phalcon\Debug();
            $debug->listen();
 
            $dispatcher->dispatch();
        } else {
            try {
                $dispatcher->dispatch();
            } catch (\Phalcon\Exception $e) {
                // Errors catching
                $view->setViewsDir(__DIR__ . '/modules/Index/views/');
                $view->setPartialsDir('');
                $view->e = $e;
                if ($e instanceof \Phalcon\Mvc\Dispatcher\Exception) {
                    $response->setStatusCode(404, 'Not Found');
                    $view->partial('error/error404');
                } else {
                    $response->setStatusCode(503, 'Service Unavailable');
                    $view->partial('error/error503');
                }
                $response->sendHeaders();
                echo $response->getContent();
                return;
            }
        }
 
        $view->render(
            $dispatcher->getControllerName(),
            $dispatcher->getActionName(),
            $dispatcher->getParams()
        );
 
        $view->finish();
        $response = $di['response'];
 
        // AJAX
        $request = $di['request'];
        $_ajax = $request->getQuery('_ajax');
        if ($_ajax) {
            $contents = $view->getContent();
            $return = new \stdClass();
            $return->html = $contents;
            $return->title = $di->get('helper')->title()->get();
            $return->success = true;
            if ($view->bodyClass) {
                $return->bodyClass = $view->bodyClass;
            }
            $headers = $response->getHeaders()->toArray();
            if (isset($headers[404]) || isset($headers[503])) {
                $return->success = false;
            }
            $response->setContentType('application/json', 'UTF-8');
            $response->setContent(json_encode($return));
        } else {
            $response->setContent($view->getContent());
        }
        $response->sendHeaders();
        echo $response->getContent();
    }
}
#7Eskiz\Bootstrap->run()
/home/admin/web/mintrans.uz/public_html/public/index.php (20)
<?php
 
chdir(dirname(__DIR__));
 
define('ROOT', __DIR__);
define('HOST_HASH', substr(md5($_SERVER['HTTP_HOST']), 0, 12));
 
if (isset($_SERVER['APPLICATION_ENV'])) {
    $applicationEnv = ($_SERVER['APPLICATION_ENV'] ? $_SERVER['APPLICATION_ENV'] : 'production');
} else {
    $applicationEnv = (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production');
}
define('APPLICATION_ENV', $applicationEnv);
 
 
define('APPLICATION_PATH', __DIR__ . '/../app');
 
require_once APPLICATION_PATH . '/Bootstrap.php';
$bootstrap = new Eskiz\Bootstrap();
$bootstrap->run();
KeyValue
_url/uz/news/o-zbekiston-va-turkmaniston-o-rtasida-transport-sohasidagi-hamkorlikni-rivojlantirish-masalalari-muhokama-qilindi
KeyValue
REDIRECT_REDIRECT_HTTPSon
REDIRECT_REDIRECT_STATUS200
REDIRECT_APPLICATION_ENVdevelopment
REDIRECT_HTTPSon
REDIRECT_STATUS200
APPLICATION_ENVdevelopment
HTTPSon
HTTP_HOSTmintrans.uz
HTTP_X_REAL_IP3.237.67.179
HTTP_X_FORWARDED_FOR3.237.67.179
HTTP_CONNECTIONclose
HTTP_USER_AGENTCCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGEen-US,en;q=0.5
HTTP_IF_MODIFIED_SINCEMon, 01 Jun 2020 22:10:00 GMT
HTTP_ACCEPT_ENCODINGbr,gzip
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
SERVER_SIGNATURE
SERVER_SOFTWAREApache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1d
SERVER_NAMEmintrans.uz
SERVER_ADDR195.158.27.21
SERVER_PORT443
REMOTE_ADDR195.158.27.21
DOCUMENT_ROOT/home/admin/web/mintrans.uz/public_html
REQUEST_SCHEMEhttps
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT/home/admin/web/mintrans.uz/public_html
SERVER_ADMINinfo@mintrans.uz
SCRIPT_FILENAME/home/admin/web/mintrans.uz/public_html/public/index.php
REMOTE_PORT46112
REDIRECT_URL/public/uz/news/o-zbekiston-va-turkmaniston-o-rtasida-transport-sohasidagi-hamkorlikni-rivojlantirish-masalalari-muhokama-qilindi
REDIRECT_QUERY_STRING_url=/uz/news/o-zbekiston-va-turkmaniston-o-rtasida-transport-sohasidagi-hamkorlikni-rivojlantirish-masalalari-muhokama-qilindi
GATEWAY_INTERFACECGI/1.1
SERVER_PROTOCOLHTTP/1.0
REQUEST_METHODGET
QUERY_STRING_url=/uz/news/o-zbekiston-va-turkmaniston-o-rtasida-transport-sohasidagi-hamkorlikni-rivojlantirish-masalalari-muhokama-qilindi
REQUEST_URI/uz/news/o-zbekiston-va-turkmaniston-o-rtasida-transport-sohasidagi-hamkorlikni-rivojlantirish-masalalari-muhokama-qilindi
SCRIPT_NAME/public/index.php
PHP_SELF/public/index.php
REQUEST_TIME_FLOAT1606900260.182
REQUEST_TIME1606900260
#Path
0/home/admin/web/mintrans.uz/public_html/public/index.php
1/home/admin/web/mintrans.uz/public_html/app/Bootstrap.php
2/home/admin/web/mintrans.uz/public_html/app/modules/Cms/Config.php
3/home/admin/web/mintrans.uz/public_html/app/config/environment/development.php
4/home/admin/web/mintrans.uz/public_html/app/config/global.php
5/home/admin/web/mintrans.uz/public_html/app/config/modules.php
6/home/admin/web/mintrans.uz/public_html/app/modules/Application/Loader/Modules.php
7/home/admin/web/mintrans.uz/public_html/vendor/autoload.php
8/home/admin/web/mintrans.uz/public_html/vendor/composer/autoload_real.php
9/home/admin/web/mintrans.uz/public_html/vendor/composer/ClassLoader.php
10/home/admin/web/mintrans.uz/public_html/vendor/composer/autoload_static.php
11/home/admin/web/mintrans.uz/public_html/vendor/symfony/polyfill-mbstring/bootstrap.php
12/home/admin/web/mintrans.uz/public_html/vendor/ralouphie/getallheaders/src/getallheaders.php
13/home/admin/web/mintrans.uz/public_html/vendor/swiftmailer/swiftmailer/lib/swift_required.php
14/home/admin/web/mintrans.uz/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php
15/home/admin/web/mintrans.uz/public_html/vendor/cakephp/collection/functions.php
16/home/admin/web/mintrans.uz/public_html/vendor/guzzlehttp/promises/src/functions_include.php
17/home/admin/web/mintrans.uz/public_html/vendor/guzzlehttp/promises/src/functions.php
18/home/admin/web/mintrans.uz/public_html/vendor/guzzlehttp/psr7/src/functions_include.php
19/home/admin/web/mintrans.uz/public_html/vendor/guzzlehttp/psr7/src/functions.php
20/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/abs.php
21/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/acos.php
22/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/acosh.php
23/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/acot.php
24/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/acoth.php
25/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/acsc.php
26/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/acsch.php
27/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/argument.php
28/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/asec.php
29/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/asech.php
30/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/asin.php
31/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/asinh.php
32/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/atan.php
33/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/atanh.php
34/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/conjugate.php
35/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/cos.php
36/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/cosh.php
37/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/cot.php
38/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/coth.php
39/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/csc.php
40/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/csch.php
41/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/exp.php
42/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/inverse.php
43/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/ln.php
44/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/log2.php
45/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/log10.php
46/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/negative.php
47/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/pow.php
48/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/rho.php
49/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/sec.php
50/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/sech.php
51/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/sin.php
52/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/sinh.php
53/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/sqrt.php
54/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/tan.php
55/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/tanh.php
56/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/functions/theta.php
57/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/operations/add.php
58/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/operations/subtract.php
59/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/operations/multiply.php
60/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/operations/divideby.php
61/home/admin/web/mintrans.uz/public_html/vendor/markbaker/complex/classes/src/operations/divideinto.php
62/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/functions/adjoint.php
63/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/functions/antidiagonal.php
64/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/functions/cofactors.php
65/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/functions/determinant.php
66/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/functions/diagonal.php
67/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/functions/identity.php
68/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/functions/inverse.php
69/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/functions/minors.php
70/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/functions/trace.php
71/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/functions/transpose.php
72/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/operations/add.php
73/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/operations/directsum.php
74/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/operations/subtract.php
75/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/operations/multiply.php
76/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/operations/divideby.php
77/home/admin/web/mintrans.uz/public_html/vendor/markbaker/matrix/classes/src/operations/divideinto.php
78/home/admin/web/mintrans.uz/public_html/vendor/guzzlehttp/guzzle/src/functions_include.php
79/home/admin/web/mintrans.uz/public_html/vendor/guzzlehttp/guzzle/src/functions.php
80/home/admin/web/mintrans.uz/public_html/app/modules/Application/Mvc/View/Engine/Volt.php
81/home/admin/web/mintrans.uz/public_html/app/modules/Application/Widget/Proxy.php
82/home/admin/web/mintrans.uz/public_html/app/modules/Application/Cache/Manager.php
83/home/admin/web/mintrans.uz/public_html/app/modules/Cms/Model/Configuration.php
84/home/admin/web/mintrans.uz/public_html/app/modules/Application/Acl/DefaultAcl.php
85/home/admin/web/mintrans.uz/public_html/app/config/acl.php
86/home/admin/web/mintrans.uz/public_html/app/modules/Application/Assets/Manager.php
87/home/admin/web/mintrans.uz/public_html/app/modules/Application/Assets/Filter/Less.php
88/home/admin/web/mintrans.uz/public_html/app/modules/Application/Mvc/Helper.php
89/home/admin/web/mintrans.uz/public_html/app/modules/Menu/Helper/Menu.php
90/home/admin/web/mintrans.uz/public_html/app/modules/Application/Mvc/Router/DefaultRouter.php
91/home/admin/web/mintrans.uz/public_html/app/modules/Index/Routes.php
92/home/admin/web/mintrans.uz/public_html/app/modules/Application/Mvc/Helper/CmsCache.php
93/home/admin/web/mintrans.uz/public_html/app/modules/Admin/Routes.php
94/home/admin/web/mintrans.uz/public_html/app/modules/Page/Routes.php
95/home/admin/web/mintrans.uz/public_html/app/modules/Publication/Routes.php
96/home/admin/web/mintrans.uz/public_html/app/modules/Publication/Model/Type.php
97/home/admin/web/mintrans.uz/public_html/app/modules/Application/Mvc/Model/Model.php
98/home/admin/web/mintrans.uz/public_html/app/modules/Menu/Init.php
99/home/admin/web/mintrans.uz/public_html/app/modules/Menu/Helper/Helper.php
100/home/admin/web/mintrans.uz/public_html/app/modules/Seo/Routes.php
101/home/admin/web/mintrans.uz/public_html/app/modules/Api/Routes.php
102/home/admin/web/mintrans.uz/public_html/app/modules/Employee/Routes.php
103/home/admin/web/mintrans.uz/public_html/app/modules/Webform/Routes.php
104/home/admin/web/mintrans.uz/public_html/app/modules/Portfolio/Routes.php
105/home/admin/web/mintrans.uz/public_html/app/modules/Search/Routes.php
106/home/admin/web/mintrans.uz/public_html/app/modules/Products/Routes.php
107/home/admin/web/mintrans.uz/public_html/app/modules/Products/Model/Category.php
108/home/admin/web/mintrans.uz/public_html/app/modules/Faq/Routes.php
109/home/admin/web/mintrans.uz/public_html/app/modules/Partner/Routes.php
110/home/admin/web/mintrans.uz/public_html/app/modules/Newsletter/Routes.php
111/home/admin/web/mintrans.uz/public_html/app/modules/Documentation/Routes.php
112/home/admin/web/mintrans.uz/public_html/app/modules/Media/Routes.php
113/home/admin/web/mintrans.uz/public_html/app/modules/Comments/Routes.php
114/home/admin/web/mintrans.uz/public_html/app/modules/Services/Routes.php
115/home/admin/web/mintrans.uz/public_html/app/modules/Reception/Routes.php
116/home/admin/web/mintrans.uz/public_html/app/modules/Application/Utils/ModuleName.php
117/home/admin/web/mintrans.uz/public_html/app/modules/Cms/Model/Language.php
118/home/admin/web/mintrans.uz/public_html/app/modules/Publication/Module.php
119/home/admin/web/mintrans.uz/public_html/app/plugins/CheckPoint.php
120/home/admin/web/mintrans.uz/public_html/app/plugins/Localization.php
121/home/admin/web/mintrans.uz/public_html/app/modules/Cms/Model/Translate.php
122/home/admin/web/mintrans.uz/public_html/app/plugins/AdminLocalization.php
123/home/admin/web/mintrans.uz/public_html/data/translations/admin/ru.php
124/home/admin/web/mintrans.uz/public_html/app/plugins/Acl.php
125/home/admin/web/mintrans.uz/public_html/app/plugins/MobileDetect.php
126/home/admin/web/mintrans.uz/public_html/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php
127/home/admin/web/mintrans.uz/public_html/app/modules/Publication/Controller/IndexController.php
128/home/admin/web/mintrans.uz/public_html/app/modules/Application/Mvc/Controller.php
129/home/admin/web/mintrans.uz/public_html/app/modules/Publication/Model/Helper/PublicationHelper.php
130/home/admin/web/mintrans.uz/public_html/app/modules/Publication/Model/Publication.php
131/home/admin/web/mintrans.uz/public_html/app/modules/Application/Cache/Keys.php
132/home/admin/web/mintrans.uz/public_html/app/modules/Publication/Model/Translate/PublicationTranslate.php
133/home/admin/web/mintrans.uz/public_html/app/modules/Application/Mvc/Model/Translate.php
Memory
Usage2097152