Phalcon Framework 3.4.5

Phalcon\Mvc\View\Exception: View '_partials/header' was not found in any of the views directory

/var/www/vhosts/saglikhastanesi.online/httpdocs/data/cache/volt/%%var%%www%%vhosts%%saglikhastanesi.online%%httpdocs%%app%%modules%%konsol%%views%%index.volt.php (56)
#0Phalcon\Mvc\View->_engineRender(Array([.volt] => Object(Application\Mvc\View\Engine\Volt), [.phtml] => Object(Phalcon\Mvc\View\Engine\Php)), _partials/header, false, false)
#1Phalcon\Mvc\View->partial(header, null)
#2Phalcon\Mvc\View\Engine->partial(header)
/var/www/vhosts/saglikhastanesi.online/httpdocs/data/cache/volt/%%var%%www%%vhosts%%saglikhastanesi.online%%httpdocs%%app%%modules%%konsol%%views%%index.volt.php (56)
<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8"/>
 
    
    <title>
        <?= $this->helper->title()->get() ?>
    </title>
    <meta name="description" content="Splasher is a Dashboard & Konsol Site Responsive Template by hencework."/>
    <meta name="keywords" content="yobisi, güzellik merkezi"/>
    <meta name="author" content="Yobisi"/>
    <meta name="sound_effects" content="<?= $this->helper->getOption('sound_effects') ?>"/>
    <meta name="yobisi_chat" content="<?= $this->helper->getOption('yobisi_chat') ?>"/>
    <meta name="cdn_url" content="<?= $this->cdn->getUrl() ?>"/>
    <meta name="link" content="<?= $this->url->get($this->router->getRewriteUri()) ?>">
    <base href="<?= $this->url->get() ?>">
    <link rel="dns-prefetch" href="<?= $this->cdn->getUrl() ?>">
    <link rel="shortcut icon" href="<?= $site_favicon ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="<?= $this->url->get('public/media/images/favicon.ico') ?>">
    <link rel="apple-touch-icon" href="<?= $this->url->get('public/media/images/icons/256x256.png') ?>">
    <link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
 
    <?= $this->helper->getPosition('konsol_head_tag_start') ?>
 
 
    <!-- ====== scripts_header->start ====== -->
    <?= $this->assets->outputCss('konsol_stylesheet_header_main') ?>
    <?= $this->assets->outputCss('konsol_stylesheet_header') ?>
    <!-- ====== scripts_header->end ====== -->
 
    <!-- ====== scripts_header->start ====== -->
    <?= $this->assets->outputJs('konsol_scripts_header_main') ?>
    <?= $this->assets->outputJs('konsol_scripts_header') ?>
    <!-- ====== scripts_header->end ====== -->
 
    <?= $this->helper->getPosition('konsol_head_tag_end') ?>
 
    <script> window.datatable = {};</script>
</head>
 
<body class="fix-header fix-sidebar user-role-<?= (($this->auth->getRoleLink()) ? $this->auth->getRoleLink() : '') ?> user-lang-<?= constant('LANG') ?> theme-<?= $theme ?> <?= ($mobile_device ? 'mini-sidebar' : '') ?>">
 
<div id="output"></div>
<!-- ============================================================== -->
<!-- Preloader - style you can find in spinners.css -->
<!-- ============================================================== -->
 
 
<main id="main-wrapper">
 
 
    <?= $this->helper->getPosition('konsol_body_start') ?>
 
    <?= $this->partial('header') ?>
 
    <!-- ============================================================== -->
    <!-- End Topbar header -->
    <!-- ============================================================== -->
 
    <?= $this->partial('sidebar') ?>
 
    <article class="page-wrapper">
 
 
 
        <!-- ============================================================== -->
        <!-- Container fluid  -->
        <!-- ============================================================== -->
        <!-- ============================================================== -->
        <!-- box -->
        <!-- ============================================================== -->
 
 
 
 
        <?php if ($is_maintenance) { ?>
 
            <div class="alert alert-info text-white">
 
 
                <div class="row align-items-center">
                    <div class="col-1">
                        <svg xmlns="http://www.w3.org/2000/svg" width="100" height="70" viewBox="0 0 100 68">
                            <g id="large" transform="rotate(241.89 31 37)">
                                <path fill="none" stroke="#fff"
                                      d="M55.8 38.5l6.2-1.2c0-1.8-.1-3.5-.4-5.3l-6.3-.2c-.5-2-1.2-4-2.1-6l4.8-4c-.9-1.6-1.9-3-3-4.4l-5.6 3c-1.3-1.6-3-3-4.7-4.1l2-6A30 30 0 0 0 42 8l-3.3 5.4c-2-.7-4.2-1-6.2-1.2L31.3 6c-1.8 0-3.5.1-5.3.4l-.2 6.3c-2 .5-4 1.2-6 2.1l-4-4.8c-1.6.9-3 1.9-4.4 3l3 5.6c-1.6 1.3-3 3-4.1 4.7l-6-2A32.5 32.5 0 0 0 2 26l5.4 3.3c-.7 2-1 4.2-1.2 6.2L0 36.7c0 1.8.1 3.5.4 5.3l6.3.2c.5 2 1.2 4 2.1 6l-4.8 4c.9 1.6 1.9 3 3 4.4l5.6-3c1.4 1.6 3 3 4.7 4.1l-2 6A30.5 30.5 0 0 0 20 66l3.4-5.4c2 .7 4 1 6.1 1.2l1.2 6.2c1.8 0 3.5-.1 5.3-.4l.2-6.3c2-.5 4-1.2 6-2.1l4 4.8c1.6-.9 3-1.9 4.4-3l-3-5.6c1.6-1.3 3-3 4.1-4.7l6 2A32 32 0 0 0 60 48l-5.4-3.3c.7-2 1-4.2 1.2-6.2zm-13.5 4a12.5 12.5 0 1 1-22.6-11 12.5 12.5 0 0 1 22.6 11z"></path>
                                <animateTransform attributeName="transform" begin="0s" dur="3s" from="0 31 37"
                                                  repeatCount="indefinite" to="360 31 37"
                                                  type="rotate"></animateTransform>
                            </g>
                            <g id="small" transform="rotate(-182.834 78 21)">
                                <path fill="none" stroke="#fff"
                                      d="M93 19.3l6-3c-.4-1.6-1-3.2-1.7-4.8L90.8 13c-.9-1.4-2-2.7-3.4-3.8l2.1-6.3A21.8 21.8 0 0 0 85 .7l-3.6 5.5c-1.7-.4-3.4-.5-5.1-.3l-3-5.9c-1.6.4-3.2 1-4.7 1.7L70 8c-1.5 1-2.8 2-3.9 3.5L60 9.4a20.6 20.6 0 0 0-2.2 4.6l5.5 3.6a15 15 0 0 0-.3 5.1l-5.9 3c.4 1.6 1 3.2 1.7 4.7L65 29c1 1.5 2.1 2.8 3.5 3.9l-2.1 6.3a21 21 0 0 0 4.5 2.2l3.6-5.6c1.7.4 3.5.5 5.2.3l2.9 5.9c1.6-.4 3.2-1 4.8-1.7L86 34c1.4-1 2.7-2.1 3.8-3.5l6.3 2.1a21.5 21.5 0 0 0 2.2-4.5l-5.6-3.6c.4-1.7.5-3.5.3-5.1zM84.5 24a7 7 0 1 1-12.8-6.2 7 7 0 0 1 12.8 6.2z"></path>
                                <animateTransform attributeName="transform" begin="0s" dur="2s" from="0 78 21"
                                                  repeatCount="indefinite" to="-360 78 21"
                                                  type="rotate"></animateTransform>
                            </g>
                        </svg>
                    </div>
                    <div class="col-11">
 
 
                        <h3 class="text-white font-weight-bold"><?= $this->helper->at('Teknik çalışma molası') ?></h3>
                        <?= $this->helper->at('Sizlere kusursuz hizmet verebilmek amacıyla mühendislerimiz şuan sistem üzerinde bakım çalışması yürütmektedir. <br> Bu çalışma esnasında herhangi bir veri kaybı oluşmaması için geçici olarak devre dışı bırakılmıştır.') ?>
 
                        <br><br>
                        <b>Tahmini bitiş tarihi: </b> <?= $technical_works_enddate ?>
                    </div>
                </div>
 
            </div>
 
 
            <?php if ($user->getIsAdmin()) { ?>
 
                <?= $this->helper->getPosition('konsol_content_head') ?>
 
                <?= $this->getContent() ?>
 
                <?= $this->helper->getPosition('konsol_content_bottom') ?>
 
            <?php } ?>
 
        <?php } else { ?>
 
            <?= $this->helper->getPosition('konsol_content_head') ?>
 
            <?= $this->getContent() ?>
 
            <?= $this->helper->getPosition('konsol_content_bottom') ?>
 
        <?php } ?>
 
 
        <!-- ============================================================== -->
        <!-- Pages wrapper  -->
        <!-- ============================================================== -->
 
 
        <?= $this->partial('footer') ?>
 
        <?= $this->partial('toast') ?>
 
        <?= $this->helper->widget('Konsol', 'Konsol')->dbProfiler() ?>
 
 
    </article>
 
 
    <?= $this->partial('toast') ?>
 
 
 
 
    <?= $this->helper->getPosition('konsol_body_script_start') ?>
 
    <!-- ====== scripts_footer->start ====== -->
    <?= $this->assets->outputCss('konsol_stylesheet_footer_main') ?>
    <?= $this->assets->outputCss('konsol_stylesheet_footer') ?>
    <!-- ====== scripts_footer->end ====== -->
 
    <!-- ====== scripts_footer->start ====== -->
    <?= $this->assets->outputJs('konsol_scripts_footer_main') ?>
    <?= $this->assets->outputJs('konsol_scripts_footer') ?>
    <!-- ====== scripts_footer->end ====== -->
 
    <?= $this->helper->getPosition('konsol_body_end') ?>
 
</main>
 
 
</body>
</html>
 
#3unknown
#4Phalcon\Mvc\View\Engine\Volt->render(/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Views/index.volt, Array(10), true)
#5Phalcon\Mvc\View->_engineRender(Array([.volt] => Object(Application\Mvc\View\Engine\Volt), [.phtml] => Object(Phalcon\Mvc\View\Engine\Php)), index, true, true, null)
#6Phalcon\Mvc\View->render(error, show404, Array())
/var/www/vhosts/saglikhastanesi.online/httpdocs/app/Bootstrap.php (424)
<?php
 
namespace YobisiKonsol;
 
use Application\Cache\Manager as CacheManager;
use Application\Mvc\Helper\CmsCache;
use Konsol\Helper\Cdn;
use Konsol\Model\Options;
use Phalcon\Http\Response\Cookies;
use Phalcon\Crypt;
 
/**
 * Bootstrap
 * @copyright Copyright (c) 2018 - 2019 Yobisi (https://www.yobisi.com)
 * @author Ahmet ALTINTAŞ <[email protected]>
 */
class Bootstrap
{
 
    public function run()
    {
        $di = new \Phalcon\DI\FactoryDefault();
        $loader = new \Phalcon\Loader();
 
        // Config
        $config = require_once APP_DIR . '/config/application.php';
        $config = new \Phalcon\Config($config);
 
 
        $loader->registerDirs([APP_DIR . "/plugins/"]);
        $loader->registerNamespaces($config->loader->namespaces->toArray());
        $loader->registerFiles([APP_DIR . '/../vendor/autoload.php']);
        $loader->register();
 
 
        $di->set('config', $config);
 
        // Registry
        $registry = new \Phalcon\Registry();
        $di->set('registry', $registry);
 
 
        // 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,
            "port" => $config->database->port,
        ]);
        $di->set('db', $db);
 
 
        //SET MODULES
        $this->config = $this->getModules($di);
 
 
        // Loader
        $loader->registerDirs([APP_DIR . "/plugins/"]);
        $loader->registerNamespaces($config->loader->namespaces->toArray());
        $loader->registerFiles([APP_DIR . '/../vendor/autoload.php']);
        $loader->register();
 
 
        // 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);
 
        // Application
        $application = new \Phalcon\Mvc\Application();
        $application->registerModules($config->modules->toArray());
 
 
        // CMS
        //$cmsModel = new \Konsol\Model\Configuration();
        //$registry->admin = $cmsModel->getConfig(); // Отправляем в Registry
 
 
        // Events Manager, Dispatcher
        $this->initEventManager($di);
 
 
        // Session
        $session = new \Phalcon\Session\Adapter\Files();
        $session->start();
 
        $di->set('session', $session);
 
        $di->set('cookie', function () {
            $cookies = new Cookies();
            //$cookies->useEncryption(false);
            return $cookies;
        });
 
        $di->set('crypt', function () {
            $crypt = new Crypt();
            $crypt->setCipher('aes-256-ctr');
            $key = 'T4\xb1\x8d\xa9\x98\x05\\\x8c\xbe\x1d\x07&[\x99\x18\xa4~Lc1\xbeW\xb3';
            $crypt->setKey($key);
            return $crypt;
        });
 
 
 
        /*
         * Eğer açık olursa önyüzdeki dil çalışmıyor /en/sayfa/hakkimizda türkçe geliyor
         * new \YobisiKonsol\Plugin\Localization($di->get('dispatcher'));
         */
 
 
        $di->set('security', new \Phalcon\Security());
 
        $di->set('helper', new \Application\Mvc\Helper());
 
        $di->set('static_params', new \Application\Mvc\Helper\StaticParams());
 
        $di->set('positions', new \Application\Mvc\Helper\Positions());
 
        $di->set('cdn', new \Application\Mvc\Helper\Cdn());
 
        $di->set('auth', new \Konsol\Model\Auth());
 
 
        // JS Assets
        $this->initAssetsManager($di);
 
 
        // Toast helper
        $di->set('toast', function () use ($di) {
 
            return new \Application\Mvc\Helper\Toast();
        });
 
        // Flash helper
        $di->set('flash', function () use ($di) {
 
            return new \Phalcon\Flash\Session([
                'error' => 'alert alert-danger',
                'success' => 'alert alert-success',
                'notice' => 'alert alert-info',
                'warning' => 'alert alert-warning',
            ]);
 
        });
 
 
        // Routing
        $this->initRouting($application, $di);
 
        $application->setDI($di);
 
 
        // Main dispatching process
        $response = $this->dispatch($di);
        $response->send();
 
    }
 
    private function initRouting($application, $di)
    {
 
        $router = new \Application\Mvc\Router\DefaultRouter();
        $router->setDi($di);
 
 
        foreach ($application->getModules() as $module) {
 
            $initClassName = str_replace('\Module', '\Init', $module['className']);
 
            if (class_exists($initClassName)) {
                new $initClassName();
            }
        }
 
        foreach ($application->getModules() as $module) {
 
            $routesClassName = str_replace('\Module', '\Routes', $module['className']);
            if (class_exists($routesClassName)) {
                $routesClass = new $routesClassName();
                $router = $routesClass->init($router);
 
            }
        }
 
        $router->notFound(array(
            "module" => "konsol",
            "controller" => "error",
            "action" => "show404"
        ));
 
        $router->removeExtraSlashes(true);
 
 
        $di->set('router', $router);
    }
 
    private function initAssetsManager($di){
 
        //$config = $di->get('config');
 
        $assetsManager = new \Application\Assets\Manager();
 
 
        $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 \YobisiKonsol\Plugin\Acl($di->get('auth'), $dispatcher);
            new \YobisiKonsol\Plugin\Localization($di->get('dispatcher'));
            new \YobisiKonsol\Plugin\AdminLocalization($di->get('config'));
            new \YobisiKonsol\Plugin\MobileDetect($di->get('session'), $di->get('view'), $di->get('request'));
        });
 
        $eventsManager->attach("dispatch:afterDispatchLoop", function ($event, $dispatcher) use ($di) {
 
            new \YobisiKonsol\Plugin\Title($di);
        });
 
        $eventsManager->attach("dispatch", function ($event, $dispatcher, $exception) use ($di) {
            //controller or action doesn't exist
 
 
            if ($event->getType() == 'beforeException') {
 
 
 
                if (DEBUG_MODE) {
 
                    $debug = new \Phalcon\Debug();
                    die($debug->listen()->onUncaughtException($exception));
 
                } else {
 
                    $current_url = $di->get('router')->getRewriteUri();
                    $message     = $exception->getMessage();
 
 
                    switch ($exception->getCode()) {
                        case \Phalcon\Dispatcher::EXCEPTION_HANDLER_NOT_FOUND:
                            $di->get('response')->redirect($di->get('url')->get('hata/404?code=dispatch_handler_not_found&message='.$message . "&url=" . $current_url ."&file=".$exception->getFile().":".$exception->getLine()),true,301);
                            return false;
                        case \Phalcon\Dispatcher::EXCEPTION_ACTION_NOT_FOUND:
                            $di->get('response')->redirect($di->get('url')->get('hata/404?code=dispatch_action_not_found&message='.$message . "&url=" . $current_url ."&file=".$exception->getFile().":".$exception->getLine()),true,301);
                            return false;
                        default:
                            $di->get('response')->redirect($di->get('url')->get('hata/500?code=dispatch_exception_1003&message='.$message . "&url=" . $current_url ."&file=".$exception->getFile().":".$exception->getLine()),true,301);
                            return false;
                    }
 
                    exit();
 
                }
 
            }//error pages redirect
        });
 
 
        // Profiler
 
 
        if ($di->get('config')['profiler_show']) {
 
 
            $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', MODULES_DIR . "/Konsol/Views/");
 
        $view->setViewsDir(MAIN_VIEW_PATH);
        $view->setMainView(MAIN_VIEW_PATH . '/konsol');
        $view->setLayoutsDir(MAIN_VIEW_PATH . '/layouts/');
        $view->setLayout('/konsol');
        $view->setPartialsDir(MAIN_VIEW_PATH . '/partials/');
 
 
 
        // Volt
        $volt = new \Application\Mvc\View\Engine\Volt($view, $di);
        $volt->setOptions([
            'compiledPath' => DATA_DIR . '/cache/volt/',
            'compileAlways' => (DEBUG_MODE) ? true : false
        ]);
 
 
 
        $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" => APP_DIR . "/../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->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());
 
        $ModuleClassName = $moduleName . '\Module';
        if (class_exists($ModuleClassName)) {
            $module = new $ModuleClassName;
            $module->registerAutoloaders();
            $module->registerServices($di);
        }
 
        $view->start();
 
        $dispatcher->dispatch();
 
 
        $view->render(
            $dispatcher->getControllerName(),
            $dispatcher->getActionName(),
            $dispatcher->getParams()
        );
 
        $view->finish();
 
        // AJAX
        $request = $di['request'];
        $_ajax = $request->getQuery('_ajax');
 
        if ($_ajax) {
 
            $view->setLayout('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());
        }
 
        return $response;
    }
 
    private function getModules($di)
    {
 
 
        $config = $di->get('config');
        $db = $di->get('db');
 
 
        $user_modules = CmsCache::getInstance()->get('modules');
 
 
        if (!$user_modules):
 
            //GET_MODULES
            $statement = $db->prepare('SELECT * FROM modules WHERE status = ? order by priority ASC');
            $statement->execute(array("active"));
            $user_modules = $statement->fetchAll(\Phalcon\Db::FETCH_ASSOC);
 
 
            CmsCache::getInstance()->save('modules', $user_modules);
 
        endif;
 
 
        //SET_MODULES
        require_once APP_DIR . '/modules/Application/Loader/Modules.php';
 
        $modules = new \Application\Loader\Modules();
        $modules_config = $modules->modulesConfig($user_modules);
 
 
        foreach ($modules_config['loader']['namespaces'] as $key => $module)
            $config->loader->namespaces[$key] = $module;
 
        foreach ($modules_config['modules'] as $key => $module)
            $config->modules[$key] = $module;
 
 
        return $config;
 
    }
 
}
#7YobisiKonsol\Bootstrap->dispatch(null)
/var/www/vhosts/saglikhastanesi.online/httpdocs/app/Bootstrap.php (165)
<?php
 
namespace YobisiKonsol;
 
use Application\Cache\Manager as CacheManager;
use Application\Mvc\Helper\CmsCache;
use Konsol\Helper\Cdn;
use Konsol\Model\Options;
use Phalcon\Http\Response\Cookies;
use Phalcon\Crypt;
 
/**
 * Bootstrap
 * @copyright Copyright (c) 2018 - 2019 Yobisi (https://www.yobisi.com)
 * @author Ahmet ALTINTAŞ <[email protected]>
 */
class Bootstrap
{
 
    public function run()
    {
        $di = new \Phalcon\DI\FactoryDefault();
        $loader = new \Phalcon\Loader();
 
        // Config
        $config = require_once APP_DIR . '/config/application.php';
        $config = new \Phalcon\Config($config);
 
 
        $loader->registerDirs([APP_DIR . "/plugins/"]);
        $loader->registerNamespaces($config->loader->namespaces->toArray());
        $loader->registerFiles([APP_DIR . '/../vendor/autoload.php']);
        $loader->register();
 
 
        $di->set('config', $config);
 
        // Registry
        $registry = new \Phalcon\Registry();
        $di->set('registry', $registry);
 
 
        // 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,
            "port" => $config->database->port,
        ]);
        $di->set('db', $db);
 
 
        //SET MODULES
        $this->config = $this->getModules($di);
 
 
        // Loader
        $loader->registerDirs([APP_DIR . "/plugins/"]);
        $loader->registerNamespaces($config->loader->namespaces->toArray());
        $loader->registerFiles([APP_DIR . '/../vendor/autoload.php']);
        $loader->register();
 
 
        // 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);
 
        // Application
        $application = new \Phalcon\Mvc\Application();
        $application->registerModules($config->modules->toArray());
 
 
        // CMS
        //$cmsModel = new \Konsol\Model\Configuration();
        //$registry->admin = $cmsModel->getConfig(); // Отправляем в Registry
 
 
        // Events Manager, Dispatcher
        $this->initEventManager($di);
 
 
        // Session
        $session = new \Phalcon\Session\Adapter\Files();
        $session->start();
 
        $di->set('session', $session);
 
        $di->set('cookie', function () {
            $cookies = new Cookies();
            //$cookies->useEncryption(false);
            return $cookies;
        });
 
        $di->set('crypt', function () {
            $crypt = new Crypt();
            $crypt->setCipher('aes-256-ctr');
            $key = 'T4\xb1\x8d\xa9\x98\x05\\\x8c\xbe\x1d\x07&[\x99\x18\xa4~Lc1\xbeW\xb3';
            $crypt->setKey($key);
            return $crypt;
        });
 
 
 
        /*
         * Eğer açık olursa önyüzdeki dil çalışmıyor /en/sayfa/hakkimizda türkçe geliyor
         * new \YobisiKonsol\Plugin\Localization($di->get('dispatcher'));
         */
 
 
        $di->set('security', new \Phalcon\Security());
 
        $di->set('helper', new \Application\Mvc\Helper());
 
        $di->set('static_params', new \Application\Mvc\Helper\StaticParams());
 
        $di->set('positions', new \Application\Mvc\Helper\Positions());
 
        $di->set('cdn', new \Application\Mvc\Helper\Cdn());
 
        $di->set('auth', new \Konsol\Model\Auth());
 
 
        // JS Assets
        $this->initAssetsManager($di);
 
 
        // Toast helper
        $di->set('toast', function () use ($di) {
 
            return new \Application\Mvc\Helper\Toast();
        });
 
        // Flash helper
        $di->set('flash', function () use ($di) {
 
            return new \Phalcon\Flash\Session([
                'error' => 'alert alert-danger',
                'success' => 'alert alert-success',
                'notice' => 'alert alert-info',
                'warning' => 'alert alert-warning',
            ]);
 
        });
 
 
        // Routing
        $this->initRouting($application, $di);
 
        $application->setDI($di);
 
 
        // Main dispatching process
        $response = $this->dispatch($di);
        $response->send();
 
    }
 
    private function initRouting($application, $di)
    {
 
        $router = new \Application\Mvc\Router\DefaultRouter();
        $router->setDi($di);
 
 
        foreach ($application->getModules() as $module) {
 
            $initClassName = str_replace('\Module', '\Init', $module['className']);
 
            if (class_exists($initClassName)) {
                new $initClassName();
            }
        }
 
        foreach ($application->getModules() as $module) {
 
            $routesClassName = str_replace('\Module', '\Routes', $module['className']);
            if (class_exists($routesClassName)) {
                $routesClass = new $routesClassName();
                $router = $routesClass->init($router);
 
            }
        }
 
        $router->notFound(array(
            "module" => "konsol",
            "controller" => "error",
            "action" => "show404"
        ));
 
        $router->removeExtraSlashes(true);
 
 
        $di->set('router', $router);
    }
 
    private function initAssetsManager($di){
 
        //$config = $di->get('config');
 
        $assetsManager = new \Application\Assets\Manager();
 
 
        $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 \YobisiKonsol\Plugin\Acl($di->get('auth'), $dispatcher);
            new \YobisiKonsol\Plugin\Localization($di->get('dispatcher'));
            new \YobisiKonsol\Plugin\AdminLocalization($di->get('config'));
            new \YobisiKonsol\Plugin\MobileDetect($di->get('session'), $di->get('view'), $di->get('request'));
        });
 
        $eventsManager->attach("dispatch:afterDispatchLoop", function ($event, $dispatcher) use ($di) {
 
            new \YobisiKonsol\Plugin\Title($di);
        });
 
        $eventsManager->attach("dispatch", function ($event, $dispatcher, $exception) use ($di) {
            //controller or action doesn't exist
 
 
            if ($event->getType() == 'beforeException') {
 
 
 
                if (DEBUG_MODE) {
 
                    $debug = new \Phalcon\Debug();
                    die($debug->listen()->onUncaughtException($exception));
 
                } else {
 
                    $current_url = $di->get('router')->getRewriteUri();
                    $message     = $exception->getMessage();
 
 
                    switch ($exception->getCode()) {
                        case \Phalcon\Dispatcher::EXCEPTION_HANDLER_NOT_FOUND:
                            $di->get('response')->redirect($di->get('url')->get('hata/404?code=dispatch_handler_not_found&message='.$message . "&url=" . $current_url ."&file=".$exception->getFile().":".$exception->getLine()),true,301);
                            return false;
                        case \Phalcon\Dispatcher::EXCEPTION_ACTION_NOT_FOUND:
                            $di->get('response')->redirect($di->get('url')->get('hata/404?code=dispatch_action_not_found&message='.$message . "&url=" . $current_url ."&file=".$exception->getFile().":".$exception->getLine()),true,301);
                            return false;
                        default:
                            $di->get('response')->redirect($di->get('url')->get('hata/500?code=dispatch_exception_1003&message='.$message . "&url=" . $current_url ."&file=".$exception->getFile().":".$exception->getLine()),true,301);
                            return false;
                    }
 
                    exit();
 
                }
 
            }//error pages redirect
        });
 
 
        // Profiler
 
 
        if ($di->get('config')['profiler_show']) {
 
 
            $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', MODULES_DIR . "/Konsol/Views/");
 
        $view->setViewsDir(MAIN_VIEW_PATH);
        $view->setMainView(MAIN_VIEW_PATH . '/konsol');
        $view->setLayoutsDir(MAIN_VIEW_PATH . '/layouts/');
        $view->setLayout('/konsol');
        $view->setPartialsDir(MAIN_VIEW_PATH . '/partials/');
 
 
 
        // Volt
        $volt = new \Application\Mvc\View\Engine\Volt($view, $di);
        $volt->setOptions([
            'compiledPath' => DATA_DIR . '/cache/volt/',
            'compileAlways' => (DEBUG_MODE) ? true : false
        ]);
 
 
 
        $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" => APP_DIR . "/../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->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());
 
        $ModuleClassName = $moduleName . '\Module';
        if (class_exists($ModuleClassName)) {
            $module = new $ModuleClassName;
            $module->registerAutoloaders();
            $module->registerServices($di);
        }
 
        $view->start();
 
        $dispatcher->dispatch();
 
 
        $view->render(
            $dispatcher->getControllerName(),
            $dispatcher->getActionName(),
            $dispatcher->getParams()
        );
 
        $view->finish();
 
        // AJAX
        $request = $di['request'];
        $_ajax = $request->getQuery('_ajax');
 
        if ($_ajax) {
 
            $view->setLayout('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());
        }
 
        return $response;
    }
 
    private function getModules($di)
    {
 
 
        $config = $di->get('config');
        $db = $di->get('db');
 
 
        $user_modules = CmsCache::getInstance()->get('modules');
 
 
        if (!$user_modules):
 
            //GET_MODULES
            $statement = $db->prepare('SELECT * FROM modules WHERE status = ? order by priority ASC');
            $statement->execute(array("active"));
            $user_modules = $statement->fetchAll(\Phalcon\Db::FETCH_ASSOC);
 
 
            CmsCache::getInstance()->save('modules', $user_modules);
 
        endif;
 
 
        //SET_MODULES
        require_once APP_DIR . '/modules/Application/Loader/Modules.php';
 
        $modules = new \Application\Loader\Modules();
        $modules_config = $modules->modulesConfig($user_modules);
 
 
        foreach ($modules_config['loader']['namespaces'] as $key => $module)
            $config->loader->namespaces[$key] = $module;
 
        foreach ($modules_config['modules'] as $key => $module)
            $config->modules[$key] = $module;
 
 
        return $config;
 
    }
 
}
#8YobisiKonsol\Bootstrap->run()
/var/www/vhosts/saglikhastanesi.online/httpdocs/public/index.php (43)
<?php
error_reporting(0);
session_start();
 
header('Access-Control-Allow-Origin: *');
ini_set("log_errors", 1);
ini_set("error_log", "data/logs/log_" . date('Y-m-d') . ".txt");
 
 
chdir(dirname(__DIR__));
date_default_timezone_set('Europe/Istanbul');
setlocale(LC_TIME, 'tr_TR');
 
$dir = __DIR__ . "/";
define('ROOT', $dir);
define('BASE_DIR', $dir . "../");
define('APP_DIR', $dir . "../app/");
define('MODULES_DIR', $dir . "../app/modules/");
define('DATA_DIR', $dir . "../data/");
define('HOST_HASH', substr(md5($_SERVER['HTTP_HOST']), 0, 12));
define('APPLICATION_ENV', ($_SERVER['HTTP_HOST'] == "localhost") ? "development" : "production");
 
 
 
if(@$_GET['yobidebug']):
    setcookie('DEBUG_MODE','1');
    $_SESSION['DEBUG_MODE'] = '1';
    define('DEBUG_MODE', '1');
elseif(@$_COOKIE['yobidebug'] || @$_SESSION['DEBUG_MODE']):
    define('DEBUG_MODE', true);
else:
    define('DEBUG_MODE', false);
endif;
 
 
try {
 
    /**
     * Start Yobisi.Phalcon scripts
     */
    require_once APP_DIR . '/Bootstrap.php';
    $bootstrap = new YobisiKonsol\Bootstrap();
    $bootstrap->run();
 
 
 
} catch (Exception $e) {
 
 
    $debug = new \Phalcon\Debug();
    die($debug->listen()->onUncaughtException($e));
 
 
    $app_url     = ($bootstrap->config['base_path']) ? $bootstrap->config['base_path'] : "https://".$_SERVER['HTTP_HOST'];
 
    var_dump($e->getMessage());
    var_dump($e->getFile());
    var_dump($e->getLine());
    exit();
 
 
    error_log( "[CRITICAL]". $e->getMessage() ."\n" . $app_url . " => " . $e->getFile().":".$e->getLine());
 
 
    if (DEBUG_MODE):
 
        $debug = new \Phalcon\Debug();
        die($debug->listen()->onUncaughtException($e));
 
    else:
 
 
 
        $url = $app_url . "/hata/500";
        $url .='?code=index_exception_1000&message='.$e->getMessage() . "&url=" . $_SERVER['REQUEST_URI'];
 
        header("HTTP/1.1 301 Moved Permanently");
        header("Location: " . $url,true);
 
 
        die();
 
    endif;
 
 
}
KeyValue
_url/favicon.ico
KeyValue
USERsaglikhastanesi
HOME/var/www/vhosts/saglikhastanesi.online
SCRIPT_NAME/public/index.php
REQUEST_URI/favicon.ico
QUERY_STRING_url=/favicon.ico
REQUEST_METHODGET
SERVER_PROTOCOLHTTP/1.1
GATEWAY_INTERFACECGI/1.1
REDIRECT_URL/public/favicon.ico
REDIRECT_QUERY_STRING_url=/favicon.ico
REMOTE_PORT9444
SCRIPT_FILENAME/var/www/vhosts/saglikhastanesi.online/httpdocs/public/index.php
SERVER_ADMINroot@localhost
CONTEXT_DOCUMENT_ROOT/var/www/vhosts/saglikhastanesi.online/httpdocs
CONTEXT_PREFIX
REQUEST_SCHEMEhttps
DOCUMENT_ROOT/var/www/vhosts/saglikhastanesi.online/httpdocs
REMOTE_ADDR172.69.214.226
SERVER_PORT443
SERVER_ADDR185.149.103.121
SERVER_NAMEwww.saglikhastanesi.online
SERVER_SOFTWAREApache
SERVER_SIGNATURE
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOSTwww.saglikhastanesi.online
HTTP_X_FORWARDED_PROTOhttps
HTTP_CF_VISITOR{"scheme":"https"}
HTTP_CF_IPCOUNTRYUS
HTTP_CF_CONNECTING_IP216.73.216.172
HTTP_CDN_LOOPcloudflare; loops=1
HTTP_USER_AGENTMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_ACCEPT_ENCODINGgzip, br
HTTP_ACCEPT*/*
HTTP_CF_RAY96e4a8211c4cab64-YYZ
HTTP_X_FORWARDED_FOR216.73.216.172
proxy-nokeepalive1
SSL_TLS_SNIwww.saglikhastanesi.online
HTTPSon
APPLICATION_ENVdevelopment
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY0
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY0
PERL5LIB/usr/share/awstats/lib:/usr/share/awstats/plugins
UNIQUE_IDaJvzR1yU3NMJkwixWVXh@wAAAQw
REDIRECT_STATUS200
REDIRECT_SSL_TLS_SNIwww.saglikhastanesi.online
REDIRECT_HTTPSon
REDIRECT_APPLICATION_ENVdevelopment
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY0
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY0
REDIRECT_PERL5LIB/usr/share/awstats/lib:/usr/share/awstats/plugins
REDIRECT_UNIQUE_IDaJvzR1yU3NMJkwixWVXh@wAAAQw
REDIRECT_REDIRECT_STATUS200
REDIRECT_REDIRECT_SSL_TLS_SNIwww.saglikhastanesi.online
REDIRECT_REDIRECT_HTTPSon
REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY0
REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY0
REDIRECT_REDIRECT_PERL5LIB/usr/share/awstats/lib:/usr/share/awstats/plugins
REDIRECT_REDIRECT_UNIQUE_IDaJvzR1yU3NMJkwixWVXh@wAAAQw
FCGI_ROLERESPONDER
PHP_SELF/public/index.php
REQUEST_TIME_FLOAT1755050823,7281
REQUEST_TIME1755050823
#Path
0/var/www/vhosts/saglikhastanesi.online/httpdocs/public/index.php
1/var/www/vhosts/saglikhastanesi.online/httpdocs/app/Bootstrap.php
2/var/www/vhosts/saglikhastanesi.online/httpdocs/app/config/application.php
3/var/www/vhosts/saglikhastanesi.online/httpdocs/app/config/environment/production.php
4/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/autoload.php
5/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/composer/autoload_real.php
6/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/composer/platform_check.php
7/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/composer/ClassLoader.php
8/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/composer/autoload_static.php
9/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/symfony/polyfill-php72/bootstrap.php
10/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/symfony/polyfill-intl-normalizer/bootstrap.php
11/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/symfony/polyfill-intl-idn/bootstrap.php
12/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/ralouphie/getallheaders/src/getallheaders.php
13/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/symfony/polyfill-mbstring/bootstrap.php
14/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/guzzlehttp/promises/src/functions_include.php
15/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/guzzlehttp/promises/src/functions.php
16/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/guzzlehttp/psr7/src/functions_include.php
17/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/guzzlehttp/psr7/src/functions.php
18/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/symfony/polyfill-iconv/bootstrap.php
19/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/guzzlehttp/guzzle/src/functions_include.php
20/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/guzzlehttp/guzzle/src/functions.php
21/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/mtdowling/jmespath.php/src/JmesPath.php
22/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/swiftmailer/swiftmailer/lib/swift_required.php
23/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php
24/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/aws/aws-sdk-php/src/functions.php
25/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Helper/CmsCache.php
26/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Loader/Modules.php
27/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/View/Engine/Volt.php
28/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Widget/Proxy.php
29/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Cache/Manager.php
30/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Helper.php
31/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Helper/StaticParams.php
32/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Helper/Positions.php
33/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Helper/Cdn.php
34/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Model/Auth.php
35/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Router/Resources.php
36/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Assets/Manager.php
37/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Router/DefaultRouter.php
38/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Init.php
39/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Model/Language.php
40/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Model/Options.php
41/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Model/Model.php
42/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Widget/KonsolWidget.php
43/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Widget/AbstractWidget.php
44/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Helper/StaticMenu.php
45/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Users/Init.php
46/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Logs/Init.php
47/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Logs/Helper/Logger.php
48/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Logs/Helper/AbstractLogger.php
49/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Logs/Helper/LogLevel.php
50/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/App/Init.php
51/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Posts/Init.php
52/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Posts/Helper/PostTypes.php
53/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Posts/Helper/PostTaxonomies.php
54/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Posts/Helper/PostsFinder.php
55/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Posts/Helper/TermsFinder.php
56/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Pages/Init.php
57/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Icap/Init.php
58/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/HastaSikayet/Init.php
59/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Dof/Init.php
60/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Api/Init.php
61/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/ModuleBuilder/Init.php
62/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/YobiForm/Init.php
63/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Menus/Init.php
64/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/OptimizeImage/Init.php
65/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/SaglikHastanesi/Init.php
66/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Yonetim/Init.php
67/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Personeller/Init.php
68/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Egitimler/Init.php
69/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Egitmenler/Init.php
70/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Sorular/Init.php
71/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Anketler/Init.php
72/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Analiz/Init.php
73/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/TelefonRehberi/Init.php
74/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Bildirimler/Init.php
75/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Duyurular/Init.php
76/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Yorumlar/Init.php
77/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Dokumanlar/Init.php
78/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/RestaurantMenu/Init.php
79/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/ToplantiRezervasyonu/Init.php
80/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Routes.php
81/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Users/Routes.php
82/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Logs/Routes.php
83/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Posts/Routes.php
84/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Icap/Routes.php
85/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/HastaSikayet/Routes.php
86/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Dof/Routes.php
87/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Api/Routes.php
88/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/YobiForm/Routes.php
89/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/SaglikHastanesi/Routes.php
90/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Yonetim/Routes.php
91/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Personeller/Routes.php
92/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Egitimler/Routes.php
93/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Egitmenler/Routes.php
94/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Sorular/Routes.php
95/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Anketler/Routes.php
96/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Analiz/Routes.php
97/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/TelefonRehberi/Routes.php
98/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Bildirimler/Routes.php
99/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Duyurular/Routes.php
100/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Yorumlar/Routes.php
101/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Dokumanlar/Routes.php
102/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/RestaurantMenu/Routes.php
103/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/ToplantiRezervasyonu/Routes.php
104/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Utils/ModuleName.php
105/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Module.php
106/var/www/vhosts/saglikhastanesi.online/httpdocs/app/plugins/Acl.php
107/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Localization/Slug.php
108/var/www/vhosts/saglikhastanesi.online/httpdocs/app/plugins/Localization.php
109/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Model/Translate.php
110/var/www/vhosts/saglikhastanesi.online/httpdocs/app/plugins/AdminLocalization.php
111/var/www/vhosts/saglikhastanesi.online/httpdocs/data/translations/admin/tr.php
112/var/www/vhosts/saglikhastanesi.online/httpdocs/app/plugins/MobileDetect.php
113/var/www/vhosts/saglikhastanesi.online/httpdocs/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php
114/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Controller/ErrorController.php
115/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Controller.php
116/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Konsol/Controller/Designs/ErrorControllerDesign.php
117/var/www/vhosts/saglikhastanesi.online/httpdocs/app/plugins/Title.php
118/var/www/vhosts/saglikhastanesi.online/httpdocs/app/modules/Application/Mvc/Helper/Title.php
119/var/www/vhosts/saglikhastanesi.online/httpdocs/data/cache/volt/%%var%%www%%vhosts%%saglikhastanesi.online%%httpdocs%%app%%modules%%konsol%%views%%error%%show404.volt.php
120/var/www/vhosts/saglikhastanesi.online/httpdocs/data/cache/volt/%%var%%www%%vhosts%%saglikhastanesi.online%%httpdocs%%app%%modules%%konsol%%views%%index.volt.php
Memory
Usage2097152
1