ReflectionException (-1)
Class Application\Utility\ImageUtility does not exist ReflectionException thrown with message "Class Application\Utility\ImageUtility does not exist" Stacktrace: #36 ReflectionException in /home/users/hgv/public_html/hgv.com.pl/concrete/vendor/illuminate/container/Container.php:734 #35 ReflectionClass:__construct in /home/users/hgv/public_html/hgv.com.pl/concrete/vendor/illuminate/container/Container.php:734 #34 Illuminate\Container\Container:build in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Application/Application.php:374 #33 Concrete\Core\Application\Application:build in /home/users/hgv/public_html/hgv.com.pl/concrete/vendor/illuminate/container/Container.php:629 #32 Illuminate\Container\Container:make in /home/users/hgv/public_html/hgv.com.pl/application/blocks/iwd/view.php:2 #31 include in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Block/View/BlockView.php:248 #30 Concrete\Core\Block\View\BlockView:renderViewContents in /home/users/hgv/public_html/hgv.com.pl/concrete/src/View/AbstractView.php:164 #29 Concrete\Core\View\AbstractView:render in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Area/Area.php:853 #28 Concrete\Core\Area\Area:display in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Area/GlobalArea.php:128 #27 Concrete\Core\Area\GlobalArea:display in /home/users/hgv/public_html/hgv.com.pl/application/themes/theme/elements/main_area/icon-provide.php:5 #26 include in /home/users/hgv/public_html/hgv.com.pl/concrete/src/View/View.php:109 #25 Concrete\Core\View\View:inc in /home/users/hgv/public_html/hgv.com.pl/application/themes/theme/elements/main_area/page-area.php:8 #24 include in /home/users/hgv/public_html/hgv.com.pl/concrete/src/View/View.php:109 #23 Concrete\Core\View\View:inc in /home/users/hgv/public_html/hgv.com.pl/application/themes/theme/page.php:35 #22 include in /home/users/hgv/public_html/hgv.com.pl/concrete/src/View/View.php:288 #21 Concrete\Core\View\View:renderTemplate in /home/users/hgv/public_html/hgv.com.pl/concrete/src/View/View.php:250 #20 Concrete\Core\View\View:renderViewContents in /home/users/hgv/public_html/hgv.com.pl/concrete/src/View/AbstractView.php:164 #19 Concrete\Core\View\AbstractView:render in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/ResponseFactory.php:149 #18 Concrete\Core\Http\ResponseFactory:view in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/ResponseFactory.php:216 #17 Concrete\Core\Http\ResponseFactory:controller in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/ResponseFactory.php:367 #16 Concrete\Core\Http\ResponseFactory:collection in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/DefaultDispatcher.php:131 #15 Concrete\Core\Http\DefaultDispatcher:handleDispatch in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/DefaultDispatcher.php:59 #14 Concrete\Core\Http\DefaultDispatcher:dispatch in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/DispatcherDelegate.php:39 #13 Concrete\Core\Http\Middleware\DispatcherDelegate:next in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/ThumbnailMiddleware.php:76 #12 Concrete\Core\Http\Middleware\ThumbnailMiddleware:process in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/MiddlewareDelegate.php:50 #11 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/FrameOptionsMiddleware.php:39 #10 Concrete\Core\Http\Middleware\FrameOptionsMiddleware:process in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/MiddlewareDelegate.php:50 #9 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/CookieMiddleware.php:35 #8 Concrete\Core\Http\Middleware\CookieMiddleware:process in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/MiddlewareDelegate.php:50 #7 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/ApplicationMiddleware.php:29 #6 Concrete\Core\Http\Middleware\ApplicationMiddleware:process in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/MiddlewareDelegate.php:50 #5 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/MiddlewareStack.php:86 #4 Concrete\Core\Http\Middleware\MiddlewareStack:process in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/DefaultServer.php:85 #3 Concrete\Core\Http\DefaultServer:handleRequest in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:128 #2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /home/users/hgv/public_html/hgv.com.pl/concrete/src/Foundation/Runtime/DefaultRuntime.php:102 #1 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /home/users/hgv/public_html/hgv.com.pl/concrete/dispatcher.php:45 #0 require in /home/users/hgv/public_html/hgv.com.pl/index.php:2
Stack frames (37)
36
ReflectionException
/vendor/illuminate/container/Container.php734
35
ReflectionClass __construct
/vendor/illuminate/container/Container.php734
34
Illuminate\Container\Container build
/src/Application/Application.php374
33
Concrete\Core\Application\Application build
/vendor/illuminate/container/Container.php629
32
Illuminate\Container\Container make
/home/users/hgv/public_html/hgv.com.pl/application/blocks/iwd/view.php2
31
include
/src/Block/View/BlockView.php248
30
Concrete\Core\Block\View\BlockView renderViewContents
/src/View/AbstractView.php164
29
Concrete\Core\View\AbstractView render
/src/Area/Area.php853
28
Concrete\Core\Area\Area display
/src/Area/GlobalArea.php128
27
Concrete\Core\Area\GlobalArea display
/home/users/hgv/public_html/hgv.com.pl/application/themes/theme/elements/main_area/icon-provide.php5
26
include
/src/View/View.php109
25
Concrete\Core\View\View inc
/home/users/hgv/public_html/hgv.com.pl/application/themes/theme/elements/main_area/page-area.php8
24
include
/src/View/View.php109
23
Concrete\Core\View\View inc
/home/users/hgv/public_html/hgv.com.pl/application/themes/theme/page.php35
22
include
/src/View/View.php288
21
Concrete\Core\View\View renderTemplate
/src/View/View.php250
20
Concrete\Core\View\View renderViewContents
/src/View/AbstractView.php164
19
Concrete\Core\View\AbstractView render
/src/Http/ResponseFactory.php149
18
Concrete\Core\Http\ResponseFactory view
/src/Http/ResponseFactory.php216
17
Concrete\Core\Http\ResponseFactory controller
/src/Http/ResponseFactory.php367
16
Concrete\Core\Http\ResponseFactory collection
/src/Http/DefaultDispatcher.php131
15
Concrete\Core\Http\DefaultDispatcher handleDispatch
/src/Http/DefaultDispatcher.php59
14
Concrete\Core\Http\DefaultDispatcher dispatch
/src/Http/Middleware/DispatcherDelegate.php39
13
Concrete\Core\Http\Middleware\DispatcherDelegate next
/src/Http/Middleware/ThumbnailMiddleware.php76
12
Concrete\Core\Http\Middleware\ThumbnailMiddleware process
/src/Http/Middleware/MiddlewareDelegate.php50
11
Concrete\Core\Http\Middleware\MiddlewareDelegate next
/src/Http/Middleware/FrameOptionsMiddleware.php39
10
Concrete\Core\Http\Middleware\FrameOptionsMiddleware process
/src/Http/Middleware/MiddlewareDelegate.php50
9
Concrete\Core\Http\Middleware\MiddlewareDelegate next
/src/Http/Middleware/CookieMiddleware.php35
8
Concrete\Core\Http\Middleware\CookieMiddleware process
/src/Http/Middleware/MiddlewareDelegate.php50
7
Concrete\Core\Http\Middleware\MiddlewareDelegate next
/src/Http/Middleware/ApplicationMiddleware.php29
6
Concrete\Core\Http\Middleware\ApplicationMiddleware process
/src/Http/Middleware/MiddlewareDelegate.php50
5
Concrete\Core\Http\Middleware\MiddlewareDelegate next
/src/Http/Middleware/MiddlewareStack.php86
4
Concrete\Core\Http\Middleware\MiddlewareStack process
/src/Http/DefaultServer.php85
3
Concrete\Core\Http\DefaultServer handleRequest
/src/Foundation/Runtime/Run/DefaultRunner.php128
2
Concrete\Core\Foundation\Runtime\Run\DefaultRunner run
/src/Foundation/Runtime/DefaultRuntime.php102
1
Concrete\Core\Foundation\Runtime\DefaultRuntime run
/dispatcher.php45
0
require
/home/users/hgv/public_html/hgv.com.pl/index.php2
/home/users/hgv/public_html/hgv.com.pl/concrete/vendor/illuminate/container/Container.php
 
    /**
     * Instantiate a concrete instance of the given type.
     *
     * @param  string  $concrete
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Container\BindingResolutionException
     */
    public function build($concrete, array $parameters = [])
    {
        // If the concrete type is actually a Closure, we will just execute it and
        // hand back the results of the functions, which allows functions to be
        // used as resolvers for more fine-tuned resolution of these objects.
        if ($concrete instanceof Closure) {
            return $concrete($this, $parameters);
        }
 
        $reflector = new ReflectionClass($concrete);
 
        // If the type is not instantiable, the developer is attempting to resolve
        // an abstract type such as an Interface of Abstract Class and there is
        // no binding registered for the abstractions so we need to bail out.
        if (! $reflector->isInstantiable()) {
            if (! empty($this->buildStack)) {
                $previous = implode(', ', $this->buildStack);
 
                $message = "Target [$concrete] is not instantiable while building [$previous].";
            } else {
                $message = "Target [$concrete] is not instantiable.";
            }
 
            throw new BindingResolutionException($message);
        }
 
        $this->buildStack[] = $concrete;
 
        $constructor = $reflector->getConstructor();
 
/home/users/hgv/public_html/hgv.com.pl/concrete/vendor/illuminate/container/Container.php
 
    /**
     * Instantiate a concrete instance of the given type.
     *
     * @param  string  $concrete
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Container\BindingResolutionException
     */
    public function build($concrete, array $parameters = [])
    {
        // If the concrete type is actually a Closure, we will just execute it and
        // hand back the results of the functions, which allows functions to be
        // used as resolvers for more fine-tuned resolution of these objects.
        if ($concrete instanceof Closure) {
            return $concrete($this, $parameters);
        }
 
        $reflector = new ReflectionClass($concrete);
 
        // If the type is not instantiable, the developer is attempting to resolve
        // an abstract type such as an Interface of Abstract Class and there is
        // no binding registered for the abstractions so we need to bail out.
        if (! $reflector->isInstantiable()) {
            if (! empty($this->buildStack)) {
                $previous = implode(', ', $this->buildStack);
 
                $message = "Target [$concrete] is not instantiable while building [$previous].";
            } else {
                $message = "Target [$concrete] is not instantiable.";
            }
 
            throw new BindingResolutionException($message);
        }
 
        $this->buildStack[] = $concrete;
 
        $constructor = $reflector->getConstructor();
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Application/Application.php
        $args = $this->isRunThroughCommandLineInterface() && isset($_SERVER['argv']) ? $_SERVER['argv'] : null;
 
        $detector = new EnvironmentDetector();
 
        return $this->environment = $detector->detect($environments, $args);
    }
 
    /**
     * Instantiate a concrete instance of the given type.
     *
     * @param  string $concrete
     * @param  array $parameters
     *
     * @throws \Illuminate\Contracts\Container\BindingResolutionException
     *
     * @return mixed
     */
    public function build($concrete, array $parameters = [])
    {
        $object = parent::build($concrete, $parameters);
        if (is_object($object)) {
            if ($object instanceof ApplicationAwareInterface) {
                $object->setApplication($this);
            }
 
            if ($object instanceof LoggerAwareInterface) {
                $logger = $this->make('log/factory')->createLogger($object->getLoggerChannel());
                $object->setLogger($logger);
            } elseif ($object instanceof PsrLoggerAwareInterface) {
                $logger = $this->make('log/factory')->createLogger(Channels::CHANNEL_APPLICATION);
                $object->setLogger($logger);
            }
        }
 
        return $object;
    }
 
    /**
     * @return RuntimeInterface
     */
/home/users/hgv/public_html/hgv.com.pl/concrete/vendor/illuminate/container/Container.php
     * @return mixed
     */
    public function make($abstract, array $parameters = [])
    {
        $abstract = $this->getAlias($this->normalize($abstract));
 
        // If an instance of the type is currently being managed as a singleton we'll
        // just return an existing instance instead of instantiating new instances
        // so the developer can keep using the same objects instance every time.
        if (isset($this->instances[$abstract])) {
            return $this->instances[$abstract];
        }
 
        $concrete = $this->getConcrete($abstract);
 
        // We're ready to instantiate an instance of the concrete type registered for
        // the binding. This will instantiate the types, as well as resolve any of
        // its "nested" dependencies recursively until all have gotten resolved.
        if ($this->isBuildable($concrete, $abstract)) {
            $object = $this->build($concrete, $parameters);
        } else {
            $object = $this->make($concrete, $parameters);
        }
 
        // If we defined any extenders for this type, we'll need to spin through them
        // and apply them to the object being built. This allows for the extension
        // of services, such as changing configuration or decorating the object.
        foreach ($this->getExtenders($abstract) as $extender) {
            $object = $extender($object, $this);
        }
 
        // If the requested type is registered as a singleton we'll want to cache off
        // the instances in "memory" so we can return it later without creating an
        // entirely new instance of an object on each subsequent request for it.
        if ($this->isShared($abstract)) {
            $this->instances[$abstract] = $object;
        }
 
        $this->fireResolvingCallbacks($abstract, $object);
 
/home/users/hgv/public_html/hgv.com.pl/application/blocks/iwd/view.php
<?php defined('C5_EXECUTE') or die('Access Denied.');
$imageUtility = $app->make('Application\Utility\ImageUtility');
$th = $app->make('helper/text');
?>
 
<div class="iwd-block <?php if (!empty($customCssClass)): ?><?php echo nl2br(h($customCssClass)); ?><?php endif; ?>">
 
    <?php if (!empty($blockTitle)): ?>
        <h2 id="a-<?php echo $th->urlify($blockTitle); ?>" class="iwd-block-title"><?php echo nl2br(h($blockTitle)); ?></h2>
    <?php endif; ?>
 
    <?php if (!empty($blockSubtitle)): ?>
        <div class="iwd-block-subtitle"><?php echo nl2br(h($blockSubtitle)); ?></div>
    <?php endif; ?>
 
    <?php if (!empty($blockDescription)): ?>
        <div class="iwd-block-description"><?php echo nl2br(h($blockDescription)); ?></div>
    <?php endif; ?>
 
    <?php if (!empty($blockLink_link)): ?>
        <div class="iwd-block-link-container">
            <a href="<?php echo $blockLink_link; ?><?php echo $blockLink_ending; ?>"
               title="<?php echo h($blockLink_title); ?>" class="btn btn-primary <?php if (!empty($message)): ?>js-form-message<?php endif; ?>"
               <?php echo h($blockLink_new_window); ?>
               <?php if (!empty($message)): ?>
                   data-message="<?php echo (h($message)); ?>"
               <?php endif; ?>
            >
                <?php echo h($blockLink_text); ?>
            </a>
        </div>
    <?php endif; ?>
 
    <?php if (!empty($blockImage_thumbnailLink)): // svg src -> $blockImage_link ?>
        <div class="iwd-block-image-container">
            <img src="<?php echo $imageUtility->getPlaceholderString($blockImage_thumbnailWidth, $blockImage_thumbnailHeight); ?>"
                 data-original="<?php echo $blockImage_thumbnailLink; ?>"
                 alt="<?php echo h($blockImage_alt); ?>"
                 width="<?php echo $blockImage_thumbnailWidth; ?>"
                 height="<?php echo $blockImage_thumbnailHeight; ?>"
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Block/View/BlockView.php
            $app = Application::getFacadeApplication();
 
            // If you hook into this event and use `preventRendering()`,
            // you can prevent the block from being displayed.
            $event = new BlockBeforeRender($this->block);
            $app->make('director')->dispatch('on_block_before_render', $event);
 
            return $event->proceed();
        };
 
        if (!$shouldRender()) {
            return;
        }
 
        unset($shouldRender);
 
        extract($scopeItems);
        if (!$this->outputContent) {
            ob_start();
            include $this->template;
            $this->outputContent = ob_get_contents();
            ob_end_clean();
        }
 
        // In case the view changes any scope items, the block header/footer
        // could break without extracting the scope items again. This can happen
        // if the block view changes any local variables such as the `$b`
        // variable which is possible as they can be user defined.
        extract($scopeItems);
 
        // The translatable texts in the block header/footer need to be printed
        // out in the system language.
        $loc = Localization::getInstance();
        $loc->pushActiveContext(Localization::CONTEXT_UI);
 
        if ($this->blockViewHeaderFile) {
            include $this->blockViewHeaderFile;
        }
 
        $this->controller->registerViewAssets($this->outputContent);
/home/users/hgv/public_html/hgv.com.pl/concrete/src/View/AbstractView.php
            $helpers = $this->controller->getHelperObjects();
            $return = array_merge($this->scopeItems, $sets, $helpers);
        } else {
            $return = $this->scopeItems;
        }
        $return['view'] = $this;
        $return['controller'] = $this->controller;
        return $return;
    }
 
    public function render($state = false)
    {
        if ($this instanceof View) {
            $this->setRequestInstance($this);
        }
        $this->start($state);
        $this->setupRender();
        $this->startRender();
        $scopeItems = $this->getScopeItems();
        $contents = $this->renderViewContents($scopeItems);
        $contents = $this->postProcessViewContents($contents);
        $response = $this->finishRender($contents);
        if ($this instanceof View) {
            $this->revertRequestInstance();
        }
 
        return $response;
    }
 
    public function renderViewContents($scopeItems)
    {
        if (file_exists($this->template)) {
            extract($scopeItems);
            ob_start();
            $this->onBeforeGetContents();
            include $this->template;
            $this->onAfterGetContents();
            $contents = ob_get_contents();
            ob_end_clean();
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Area/Area.php
        $loc = Localization::getInstance();
 
        // now, we iterate through these block groups (which are actually arrays of block objects), and display them on the page
        $loc->pushActiveContext(Localization::CONTEXT_UI);
        if ($this->showControls && $c->isEditMode() && $ap->canViewAreaControls()) {
            View::element('block_area_header', array('a' => $this));
        } else {
            View::element('block_area_header_view', array('a' => $this));
        }
        $loc->popActiveContext();
 
        foreach ($blocksToDisplay as $b) {
            $bv = new BlockView($b);
            $bv->setAreaObject($this);
            $p = new Permissions($b);
            if ($p->canViewBlock()) {
                if (!$c->isEditMode()) {
                    echo $this->enclosingStart;
                }
                $bv->render('view');
                if (!$c->isEditMode()) {
                    echo $this->enclosingEnd;
                }
            }
        }
 
        $loc->pushActiveContext(Localization::CONTEXT_UI);
        if ($this->showControls && $c->isEditMode() && $ap->canViewAreaControls()) {
            View::element('block_area_footer', array('a' => $this));
        } else {
            View::element('block_area_footer_view', array('a' => $this));
        }
        $loc->popActiveContext();
    }
 
    /**
     * Exports the area to content format.
     *
     * @param \SimpleXMLElement $p
     * @param Page $page
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Area/GlobalArea.php
        if (is_object($stack)) {
            $blocksTmp = $stack->getBlocks(STACKS_AREA_NAME);
            $globalArea = self::get($stack, STACKS_AREA_NAME);
        }
 
        $blocks = [];
        foreach ($blocksTmp as $ab) {
            $ab->setBlockAreaObject($globalArea);
            $ab->setBlockActionCollectionID($stack->getCollectionID());
            $blocks[] = $ab;
        }
 
        unset($blocksTmp);
 
        return $blocks;
    }
 
    public function display($c = false, $fake = null)
    {
        parent::display($c, null);
    }
 
    /**
     * Note that this function does not delete the global area's stack.
     * You probably want to call the "delete" method of the Stack model instead.
     *
     * @param string $arHandle
     */
    public static function deleteByName($arHandle)
    {
        $db = Loader::db();
        $db->Execute('select cID from Areas where arHandle = ? and arIsGlobal = 1', [$arHandle]);
        $db->Execute('delete from Areas where arHandle = ? and arIsGlobal = 1', [$arHandle]);
    }
 
    /**
     * Searches for global areas without any blocks in it and deletes them.
     * This will have a positive impact on the performance as every global area is rendered for every page.
     */
    public static function deleteEmptyAreas()
/home/users/hgv/public_html/hgv.com.pl/application/themes/theme/elements/main_area/icon-provide.php
<div class="icon-provide-content">
    <div class="wrapper">
        <?php
            $a = new GlobalArea('Zapewniamy - Ikony');
            $a->display();
        ?>
    </div>
</div>
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/View/View.php
        $path = $env->getPath(DIRNAME_THEMES.'/'.$this->themeHandle.'/'.$file, $this->themePkgHandle);
        if (!file_exists($path)) {
            $path2 = $env->getPath(DIRNAME_THEMES.'/'.$this->themeHandle.'/'.$file, $this->viewPkgHandle);
            if (file_exists($path2)) {
                $path = $path2;
            }
            unset($path2);
        }
        $__data__['path'] = $path;
        unset($file);
        unset($args);
        unset($env);
        unset($path);
        if (!empty($__data__['scopedItems'])) {
            if (array_key_exists('__data__', $__data__['scopedItems'])) {
                throw new \Exception(t(/*i18n: %1$s is a variable name, %2$s is a function name*/'Illegal variable name \'%1$s\' in %2$s args.', '__data__', __CLASS__.'::'.__METHOD__));
            }
            extract($__data__['scopedItems']);
        }
        include $__data__['path'];
    }
 
    /**
     * A shortcut to posting back to the current page with a task and optional parameters. Only works in the context of.
     *
     * @param string $action
     * @param string $task
     *
     * @return string $url
     */
    public function action($action)
    {
        $a = func_get_args();
        $controllerPath = $this->controller->getControllerActionPath();
        array_unshift($a, $controllerPath);
        $ret = call_user_func_array([$this, 'url'], $a);
 
        return $ret;
    }
 
/home/users/hgv/public_html/hgv.com.pl/application/themes/theme/elements/main_area/page-area.php
<div class="page-content">
    <div class="wrapper">
        <?php
            $a = new Area('Blok 1 - Tresc gorna');
            $a->display();
        ?>
        <?if($c->getCollectionHandle() != "kontakt" AND $c->getCollectionHandle() != "contact"):?>
            <? $this->inc('elements/main_area/icon-provide.php'); ?>
        <?endif;?>
        <?if($c->getCollectionHandle() == 'produkcja-i-sprzedaz-palet' OR $c->getCollectionHandle() == 'production-and-sale-wooden-pallets'):?>
            <?php $this->inc('elements/main_area/pallet-list.php'); ?>
        <?endif;?>
        <?php
            $a = new Area('Blok 2 - Tresc dolna');
            $a->display();
        ?>
        <?if($c->getCollectionHandle() != 'polityka-prywatnosci' AND $c->getCollectionHandle() != 'privacy-policy'):?>
            <?php
                $a = new GlobalArea('Blok z kontaktem');
                $a->display();
            ?>
            <?php
                $a = new GlobalArea('Formularz kontaktowy');
                $a->display();
            ?>
        <?endif;?>
    </div>
</div>
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/View/View.php
        $path = $env->getPath(DIRNAME_THEMES.'/'.$this->themeHandle.'/'.$file, $this->themePkgHandle);
        if (!file_exists($path)) {
            $path2 = $env->getPath(DIRNAME_THEMES.'/'.$this->themeHandle.'/'.$file, $this->viewPkgHandle);
            if (file_exists($path2)) {
                $path = $path2;
            }
            unset($path2);
        }
        $__data__['path'] = $path;
        unset($file);
        unset($args);
        unset($env);
        unset($path);
        if (!empty($__data__['scopedItems'])) {
            if (array_key_exists('__data__', $__data__['scopedItems'])) {
                throw new \Exception(t(/*i18n: %1$s is a variable name, %2$s is a function name*/'Illegal variable name \'%1$s\' in %2$s args.', '__data__', __CLASS__.'::'.__METHOD__));
            }
            extract($__data__['scopedItems']);
        }
        include $__data__['path'];
    }
 
    /**
     * A shortcut to posting back to the current page with a task and optional parameters. Only works in the context of.
     *
     * @param string $action
     * @param string $task
     *
     * @return string $url
     */
    public function action($action)
    {
        $a = func_get_args();
        $controllerPath = $this->controller->getControllerActionPath();
        array_unshift($a, $controllerPath);
        $ret = call_user_func_array([$this, 'url'], $a);
 
        return $ret;
    }
 
/home/users/hgv/public_html/hgv.com.pl/application/themes/theme/page.php
            <meta property="og:image"        content="<?=substr(Page::getByID(1)->getCollectionLink(), 0, -1).$this->getThemePath()?>/images/og-general-image.jpg" />
        <?endif?>
    </head>
    <body>
        <?$this->inc('elements/_body.php')?>
        <div class="<?=implode(' ', $c->additionalBodyClasses)?>">
            <?$this->inc('elements/header.php')?>
 
            <main>
                <?php $this->inc('elements/breadcrumbs.php');?>
                <?if($c->getCollectionHandle() == 'kontakt' OR $c->getCollectionHandle() == 'contact'):?>
                    <?php $this->inc('elements/main_area/contact-area.php'); ?>
                <?endif;?>
 
                <?php
                    $customHandle = array('galeria', 'news');
                    if(in_array($c->getCollectionTypeHandle(), $customHandle)) {
                        $this->inc('elements/page-'.$c->getCollectionTypeHandle().'.php');
                    } else {
                        $this->inc('elements/main_area/page-area.php');
                    }
                ?>
            </main>
 
            <?$this->inc('elements/footer.php')?>
        </div>
 
        <?Loader::element('footer_required');?>
    </body>
</html>
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/View/View.php
        ob_end_clean();
 
        return $innerContent;
    }
 
    /**
     * Render the file set to $this->template
     * @param $scopeItems
     * @return string
     */
    protected function renderTemplate($scopeItems, $innerContent)
    {
        // Extract the items into the current scope
        extract($scopeItems);
 
        ob_start();
 
        // Fire a `before` event
        $this->onBeforeGetContents();
        include $this->template;
 
        // Fire an `after` event
        $this->onAfterGetContents();
        $contents = ob_get_contents();
        ob_end_clean();
 
        return $contents;
    }
 
    public function finishRender($contents)
    {
        $event = new \Symfony\Component\EventDispatcher\GenericEvent();
        $event->setArgument('view', $this);
        Events::dispatch('on_render_complete', $event);
 
        return $contents;
    }
 
    /**
     * Function responsible for outputting header items.
/home/users/hgv/public_html/hgv.com.pl/concrete/src/View/View.php
    protected function onBeforeGetContents()
    {
        $event = new \Symfony\Component\EventDispatcher\GenericEvent();
        $event->setArgument('view', $this);
        Events::dispatch('on_before_render', $event);
        $this->themeObject->registerAssets();
    }
 
    public function renderViewContents($scopeItems)
    {
        $contents = '';
 
        // Render the main view file
        if ($this->innerContentFile) {
            $contents = $this->renderInnerContents($scopeItems);
        }
 
        // Render the template around it
        if (file_exists($this->template)) {
            $contents = $this->renderTemplate($scopeItems, $contents);
        }
 
        return $contents;
    }
 
    /**
     * Render the file set to $this->innerContentFile
     * @param $scopeItems
     * @return string
     */
    protected function renderInnerContents($scopeItems)
    {
        // Extract the items into the current scope
        extract($scopeItems);
 
        ob_start();
        include $this->innerContentFile;
        $innerContent = ob_get_contents();
        ob_end_clean();
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/View/AbstractView.php
            $helpers = $this->controller->getHelperObjects();
            $return = array_merge($this->scopeItems, $sets, $helpers);
        } else {
            $return = $this->scopeItems;
        }
        $return['view'] = $this;
        $return['controller'] = $this->controller;
        return $return;
    }
 
    public function render($state = false)
    {
        if ($this instanceof View) {
            $this->setRequestInstance($this);
        }
        $this->start($state);
        $this->setupRender();
        $this->startRender();
        $scopeItems = $this->getScopeItems();
        $contents = $this->renderViewContents($scopeItems);
        $contents = $this->postProcessViewContents($contents);
        $response = $this->finishRender($contents);
        if ($this instanceof View) {
            $this->revertRequestInstance();
        }
 
        return $response;
    }
 
    public function renderViewContents($scopeItems)
    {
        if (file_exists($this->template)) {
            extract($scopeItems);
            ob_start();
            $this->onBeforeGetContents();
            include $this->template;
            $this->onAfterGetContents();
            $contents = ob_get_contents();
            ob_end_clean();
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/ResponseFactory.php
        $cnt = $this->app->make(PageForbidden::class);
        $this->controller($cnt, $code, $headers);
    }
 
    /**
     * {@inheritdoc}
     */
    public function redirect($to, $code = Response::HTTP_MOVED_PERMANENTLY, $headers = [])
    {
        return RedirectResponse::create($to, $code, $headers);
    }
 
    /**
     * {@inheritdoc}
     */
    public function view(View $view, $code = Response::HTTP_OK, $headers = [])
    {
        $this->localization->pushActiveContext(Localization::CONTEXT_SITE);
        try {
            $contents = $view->render();
 
            return $this->create($contents, $code, $headers);
        } finally {
            $this->localization->popActiveContext();
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function controller(Controller $controller, $code = Response::HTTP_OK, $headers = [])
    {
        $this->localization->pushActiveContext(Localization::CONTEXT_SITE);
        try {
            $request = $this->request;
 
            if ($response = $controller->on_start()) {
                return $response;
            }
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/ResponseFactory.php
                if ($response = $controller->runAction('view')) {
                    return $response;
                }
            }
 
            $view = $controller->getViewObject();
 
            // Mobile theme
            if ($this->config->get('concrete.misc.mobile_theme_id') > 0) {
                $md = $this->app->make(MobileDetect::class);
                if ($md->isMobile()) {
                    $mobileTheme = Theme::getByID($this->app->config->get('concrete.misc.mobile_theme_id'));
                    if ($mobileTheme instanceof Theme) {
                        $view->setViewTheme($mobileTheme);
                        $controller->setTheme($mobileTheme);
                    }
                }
            }
 
            return $this->view($view, $code, $headers);
        } finally {
            $this->localization->popActiveContext();
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function collection(Collection $collection, $code = Response::HTTP_OK, $headers = [])
    {
        if (!$this->app) {
            throw new \RuntimeException('Cannot resolve collections without a reference to the application');
        }
 
        $request = $this->request;
 
        if ($collection->isError() && $collection->getError() == COLLECTION_NOT_FOUND) {
            if ($response = $this->collectionNotFound($collection, $request, $headers)) {
                return $response;
            }
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/ResponseFactory.php
        $pe = new Event($collection);
        $pe->setUser($u);
        $pe->setRequest($request);
        $this->app['director']->dispatch('on_page_view', $pe);
 
        // Core menu items
        $item = new RelationListItem();
        $menu = $this->app->make('helper/concrete/ui/menu');
        $menu->addMenuItem($item);
 
        // Multisite item
        $item = new SiteListItem();
        $menu->addMenuItem($item);
 
        $controller = $collection->getPageController();
 
        // we update the current page with the one bound to this controller.
        $collection->setController($controller);
 
        return $this->controller($controller);
    }
 
    private function collectionNotFound(Collection $collection, Request $request, array $headers)
    {
        // if we don't have a path and we're doing cID, then this automatically fires a 404.
        if (!$request->getPath() && $request->get('cID')) {
            return $this->notFound('', Response::HTTP_NOT_FOUND, $headers);
        }
 
        // let's test to see if this is, in fact, the home page,
        // and we're routing arguments onto it (which is screwing up the path.)
        $home = Page::getByID(Page::getHomePageID());
        $request->setCurrentPage($home);
        $homeController = $home->getPageController();
        $homeController->setupRequestActionAndParameters($request);
 
        $response = $homeController->validateRequest();
        if ($response instanceof \Symfony\Component\HttpFoundation\Response) {
            return $response;
        } elseif ($response === true) {
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/DefaultDispatcher.php
                new DispatcherDelegate($dispatcher)
            );
            $stack->setApplication($this->app);
            foreach($route->getMiddlewares() as $middleware) {
                if (is_string($middleware->getMiddleware())) {
                    $inflatedMiddleware =  $this->app->make($middleware->getMiddleware());
                } else {
                    $inflatedMiddleware = $middleware->getMiddleware();
                }
                $stack = $stack->withMiddleware(
                    $inflatedMiddleware,
                    $middleware->getPriority()
                );
            }
            return $stack->process($request);
        } catch (ResourceNotFoundException $e) {
        } catch (MethodNotAllowedException $e) {
        }
        $c = \Page::getFromRequest($request);
        $response = $this->app->make(ResponseFactoryInterface::class)->collection($c);
 
        return $response;
    }
 
    /**
     * @param \Symfony\Component\Routing\RouteCollection $routes
     * @param string $path
     *
     * @return \Symfony\Component\Routing\RouteCollection
     */
    private function filterRouteCollectionForPath(RouteCollection $routes, $path)
    {
        $result = new RouteCollection();
        foreach ($routes->getResources() as $resource) {
            $result->addResource($resource);
        }
        foreach ($routes->all() as $name => $route) {
            $routePath = $route->getPath();
            $p = strpos($routePath, '{');
            $skip = false;
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/DefaultDispatcher.php
    /**
     * @param \Symfony\Component\HttpFoundation\Request $request
     *
     * @return SymfonyResponse
     */
    public function dispatch(SymfonyRequest $request)
    {
        $path = rawurldecode($request->getPathInfo());
 
        if (substr($path, 0, 3) == '../' || substr($path, -3) == '/..' || strpos($path, '/../') ||
            substr($path, 0, 3) == '..\\' || substr($path, -3) == '\\..' || strpos($path, '\\..\\')) {
            throw new UserMessageException(t('Invalid path traversal. Please make this request with a valid HTTP client.'));
        }
 
        $response = null;
        if ($this->app->isInstalled()) {
            $response = $this->getEarlyDispatchResponse();
        }
        if ($response === null) {
            $response = $this->handleDispatch($request);
        }
 
        return $response;
    }
 
    private function getEarlyDispatchResponse()
    {
        $validator = $this->app->make(SessionValidator::class);
        if ($validator->hasActiveSession()) {
            $session = $this->app['session'];
            if (!$session->has('uID')) {
                User::verifyAuthTypeCookie();
            }
 
            // User may have been logged in, so lets check status again.
            if ($session->has('uID') && $session->get('uID') > 0 && $response = $this->validateUser()) {
                return $response;
            }
        }
    }
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/DispatcherDelegate.php
    private $dispatcher;
 
    /**
     * DispatcherFrame constructor.
     * @param \Concrete\Core\Http\DispatcherInterface $dispatcher
     */
    public function __construct(DispatcherInterface $dispatcher)
    {
        $this->dispatcher = $dispatcher;
    }
 
    /**
     * Dispatch the next available middleware and return the response.
     *
     * @param Request $request
     * @return Response
     */
    public function next(Request $request)
    {
        return $this->dispatcher->dispatch($request);
    }
 
}
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/ThumbnailMiddleware.php
     * @var \Concrete\Core\Config\Repository\Repository
     */
    private $config;
 
    public function __construct(Repository $config)
    {
        $this->config = $config;
    }
 
    /**
     * Process the request and return a response.
     *
     * @param \Symfony\Component\HttpFoundation\Request $request
     * @param DelegateInterface $frame
     *
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function process(Request $request, DelegateInterface $frame)
    {
        $response = $frame->next($request);
 
        if ($response && $this->app->isInstalled() && $this->config->get('concrete.misc.basic_thumbnailer_generation_strategy') == 'now') {
            $responseStatusCode = (int) $response->getStatusCode();
            if ($responseStatusCode === 200 || $responseStatusCode === 404) {
                $database = $this->tryGetConnection();
                if ($database !== null) {
                    if ($responseStatusCode === 404) {
                        $searchThumbnailPath = $request->getRequestUri();
                    } else {
                        $searchThumbnailPath = null;
                    }
                    $thumbnail = $this->getThumbnailToGenerate($database, $searchThumbnailPath);
                    if ($thumbnail !== null) {
                        $this->markThumbnailAsBuilt($database, $thumbnail);
                        if ($this->generateThumbnail($thumbnail)) {
                            if ($this->couldBeTheRequestedThumbnail($thumbnail, $searchThumbnailPath)) {
                                $response = $this->buildRedirectToThumbnailResponse($request);
                            }
                        }
                    }
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/MiddlewareDelegate.php
 
    public function __construct(
        MiddlewareInterface $middleware,
        DelegateInterface $nextDelegate,
        HttpFoundationFactory $foundationFactory
    ) {
        $this->middleware = $middleware;
        $this->nextDelegate = $nextDelegate;
        $this->foundationFactory = $foundationFactory;
    }
 
    /**
     * Dispatch the next available middleware and return the response.
     *
     * @param Request $request
     * @return Response
     */
    public function next(Request $request)
    {
        $response = $this->middleware->process($request, $this->nextDelegate);
 
        // Negotiate PSR7 responses
        if ($response instanceof ResponseInterface) {
            return $this->foundationFactory->createResponse($response);
        }
 
        return $response;
    }
 
}
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/FrameOptionsMiddleware.php
    private $config;
 
    /**
     * @var \Concrete\Core\Utility\Service\Validation\Strings
     */
    private $stringValidator;
 
    public function __construct(Repository $config, Strings $stringValidator)
    {
        $this->config = $config;
        $this->stringValidator = $stringValidator;
    }
 
    /**
     * @param \Concrete\Core\Http\Middleware\DelegateInterface $frame
     * @return Response
     */
    public function process(Request $request, DelegateInterface $frame)
    {
        $response = $frame->next($request);
 
        if ($response->headers->has('X-Frame-Options') === false) {
            $x_frame_options = $this->config->get('concrete.security.misc.x_frame_options');
            if ($this->stringValidator->notempty($x_frame_options)) {
                $response->headers->set('X-Frame-Options', $x_frame_options);
            }
        }
 
        return $response;
    }
 
}
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/MiddlewareDelegate.php
 
    public function __construct(
        MiddlewareInterface $middleware,
        DelegateInterface $nextDelegate,
        HttpFoundationFactory $foundationFactory
    ) {
        $this->middleware = $middleware;
        $this->nextDelegate = $nextDelegate;
        $this->foundationFactory = $foundationFactory;
    }
 
    /**
     * Dispatch the next available middleware and return the response.
     *
     * @param Request $request
     * @return Response
     */
    public function next(Request $request)
    {
        $response = $this->middleware->process($request, $this->nextDelegate);
 
        // Negotiate PSR7 responses
        if ($response instanceof ResponseInterface) {
            return $this->foundationFactory->createResponse($response);
        }
 
        return $response;
    }
 
}
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/CookieMiddleware.php
     * @var \Concrete\Core\Cookie\ResponseCookieJar
     */
    private $responseCookieJar;
 
    /**
     * @param \Concrete\Core\Cookie\ResponseCookieJar $responseCookieJar
     */
    public function __construct(ResponseCookieJar $responseCookieJar)
    {
        $this->responseCookieJar = $responseCookieJar;
    }
 
    /**
     * {@inheritdoc}
     *
     * @see \Concrete\Core\Http\Middleware\MiddlewareInterface::process()
     */
    public function process(Request $request, DelegateInterface $frame)
    {
        $response = $frame->next($request);
 
        $cleared = $this->responseCookieJar->getClearedCookies();
        foreach ($cleared as $cookie) {
            $response->headers->clearCookie($cookie, DIR_REL . '/');
        }
 
        $cookies = $this->responseCookieJar->getCookies();
        foreach ($cookies as $cookie) {
            $response->headers->setCookie($cookie);
        }
 
        return $response;
    }
}
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/MiddlewareDelegate.php
 
    public function __construct(
        MiddlewareInterface $middleware,
        DelegateInterface $nextDelegate,
        HttpFoundationFactory $foundationFactory
    ) {
        $this->middleware = $middleware;
        $this->nextDelegate = $nextDelegate;
        $this->foundationFactory = $foundationFactory;
    }
 
    /**
     * Dispatch the next available middleware and return the response.
     *
     * @param Request $request
     * @return Response
     */
    public function next(Request $request)
    {
        $response = $this->middleware->process($request, $this->nextDelegate);
 
        // Negotiate PSR7 responses
        if ($response instanceof ResponseInterface) {
            return $this->foundationFactory->createResponse($response);
        }
 
        return $response;
    }
 
}
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/ApplicationMiddleware.php
 * Middleware for applying state changes to the application
 * @package Concrete\Core\Http\Middleware
 */
class ApplicationMiddleware implements MiddlewareInterface, ApplicationAwareInterface
{
 
    use ApplicationAwareTrait;
 
    /**
     * Apply the request instance to the request singleton
     * @param \Symfony\Component\HttpFoundation\Request $request
     * @param \Concrete\Core\Http\Middleware\DelegateInterface $frame
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function process(Request $request, DelegateInterface $frame)
    {
        \Concrete\Core\Http\Request::setInstance($request);
        $this->app->instance('Concrete\Core\Http\Request', $request);
 
        return $frame->next($request);
    }
 
}
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/MiddlewareDelegate.php
 
    public function __construct(
        MiddlewareInterface $middleware,
        DelegateInterface $nextDelegate,
        HttpFoundationFactory $foundationFactory
    ) {
        $this->middleware = $middleware;
        $this->nextDelegate = $nextDelegate;
        $this->foundationFactory = $foundationFactory;
    }
 
    /**
     * Dispatch the next available middleware and return the response.
     *
     * @param Request $request
     * @return Response
     */
    public function next(Request $request)
    {
        $response = $this->middleware->process($request, $this->nextDelegate);
 
        // Negotiate PSR7 responses
        if ($response instanceof ResponseInterface) {
            return $this->foundationFactory->createResponse($response);
        }
 
        return $response;
    }
 
}
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/Middleware/MiddlewareStack.php
    public function withoutMiddleware(MiddlewareInterface $middleware)
    {
        $stack = clone $this;
 
        $stack->middleware = array_map(function($priorityGroup) use ($middleware) {
            return array_map(function($stackMiddleware) use ($middleware)  {
                return $middleware === $stackMiddleware ? null : $stackMiddleware;
            }, $priorityGroup);
        }, $stack->middleware);
 
        return $stack;
    }
 
    /**
     * @inheritdoc
     */
    public function process(Request $request)
    {
        $stack = $this->getStack();
        return $stack->next($request);
    }
 
    /**
     * Reduce middleware into a stack of functions that each call the next
     * @return callable
     */
    private function getStack()
    {
        $processed = [];
 
        foreach ($this->middlewareGenerator() as $middleware) {
            $processed[] = $middleware;
        }
 
        $middleware = array_reverse($processed);
        $stack = array_reduce($middleware, $this->getZipper(), $this->dispatcher);
 
        return $stack;
    }
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Http/DefaultServer.php
     */
    public function removeMiddleware(MiddlewareInterface $middleware)
    {
        $this->stack = $this->stack->withoutMiddleware($middleware);
        return $this;
    }
 
    /**
     * Take a request and pass it through middleware, then return the response
     * @param SymfonyRequest $request
     * @return SymfonyResponse
     */
    public function handleRequest(SymfonyRequest $request)
    {
        $stack = $this->stack;
        if ($stack instanceof MiddlewareStack) {
            $stack = $stack->withDispatcher($this->app->make(DispatcherDelegate::class, [$this->dispatcher]));
        }
 
        return $stack->process($request);
    }
 
}
 
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Foundation/Runtime/Run/DefaultRunner.php
 
                // Register legacy config values
                'registerLegacyConfigValues',
 
                // Handle loading permission keys
                'handlePermissionKeys',
 
                // Handle eventing
                'handleEventing',
            ]);
        } else {
            $this->initializeSystemTimezone();
            $this->preloadClassAliases();
        }
 
        // Create the request to use
        $request = $this->createRequest();
 
        if (!$response) {
            $response = $this->server->handleRequest($request);
        }
 
        // Prepare and return the response
        return $response->prepare($request);
    }
 
    /**
     * Define the base url if not defined
     * This will define `BASE_URL` to whatever is resolved from the resolver.
     *
     * @deprecated In a future major version this will be part of HTTP middleware
     *
     * @return Response|void Returns a response if an error occurs
     */
    protected function initializeLegacyURLDefinitions()
    {
        if (!defined('BASE_URL')) {
            $resolver = $this->getUrlResolver();
 
            try {
/home/users/hgv/public_html/hgv.com.pl/concrete/src/Foundation/Runtime/DefaultRuntime.php
            $this->status = self::STATUS_ACTIVE;
        }
    }
 
    /**
     * Begin the runtime.
     */
    public function run()
    {
        switch ($this->status) {
            case self::STATUS_ENDED:
                // We've already ended, lets just return
                return;
 
            case self::STATUS_INACTIVE:
                throw new \RuntimeException('Runtime has not yet booted.');
        }
 
        $runner = $this->getRunner();
        $response = $runner->run();
 
        if ($response) {
            $this->sendResponse($response);
        }
 
        return $response;
    }
 
    /**
     * The method that handles properly sending a response.
     *
     * @param \Symfony\Component\HttpFoundation\Response $response
     */
    protected function sendResponse(Response $response)
    {
        $response->send();
 
        // Set the status to ended
        $this->status = self::STATUS_ENDED;
    }
/home/users/hgv/public_html/hgv.com.pl/concrete/dispatcher.php
 * Include all autoloaders.
 * ----------------------------------------------------------------------------
 */
require __DIR__ . '/bootstrap/autoload.php';
 
/*
 * ----------------------------------------------------------------------------
 * Begin concrete5 startup.
 * ----------------------------------------------------------------------------
 */
$app = require __DIR__ . '/bootstrap/start.php';
/** @var \Concrete\Core\Application\Application $app */
 
/*
 * ----------------------------------------------------------------------------
 * Run the runtime.
 * ----------------------------------------------------------------------------
 */
$runtime = $app->getRuntime();
if ($response = $runtime->run()) {
 
    /*
     * ------------------------------------------------------------------------
     * Shut it down.
     * ------------------------------------------------------------------------
     */
    $app->shutdown();
} else {
    return $app;
}
 
/home/users/hgv/public_html/hgv.com.pl/index.php
<?
    require('concrete/dispatcher.php');
 

Environment & details:

Key Value
Version 8.5.7
Installed Version 8.5.7
Key Value
concrete.version 8.5.7
concrete.version_installed 8.5.7
concrete.version_db 20210623000000
concrete.installed true
concrete.locale pl_PL
concrete.charset UTF-8
concrete.charset_bom 
concrete.maintenance_mode false
concrete.debug.display_errors true
concrete.debug.detail debug
concrete.debug.error_reporting null
concrete.proxy.host null
concrete.proxy.port null
concrete.proxy.user null
concrete.proxy.password null
concrete.upload.extensions *.flv;*.jpg;*.gif;*.jpeg;*.ico;*.docx;*.xla;*.png;*.psd;*.swf;*.doc;*.txt;*.xls;*.xlsx;*.csv;*.pdf;*.tiff;*.rtf;*.m4a;*.mov;*.wmv;*.mpeg;*.mpg;*.wav;*.3gp;*.avi;*.m4v;*.mp4;*.mp3;*.qt;*.ppt;*.pptx;*.kml;*.xml;*.svg;*.webm;*.ogg;*.ogv
concrete.upload.extensions_blacklist *.php;*.php2;*.php3;*.php4;*.php5;*.php7;*.php8;*.phtml;*.phar;*.htaccess;*.pl;*.phpsh;*.pht;*.shtml;*.cgi
concrete.upload.chunking.enabled true
concrete.upload.chunking.chunkSize null
concrete.export.csv.include_bom false
concrete.export.csv.datetime_format Y-m-d\TH:i:sP
concrete.interface.panel.page_relations false
concrete.mail.method smtp
concrete.mail.methods.smtp.server etron.home.pl
concrete.mail.methods.smtp.port 465
concrete.mail.methods.smtp.username noreply@hgv.com.pl
concrete.mail.methods.smtp.password !!NO33hgv
concrete.mail.methods.smtp.encryption SSL
concrete.mail.methods.smtp.messages_per_connection null
concrete.mail.methods.smtp.helo_domain localhost
concrete.cache.enabled true
concrete.cache.lifetime 21600
concrete.cache.overrides true
concrete.cache.blocks true
concrete.cache.assets true
concrete.cache.theme_css true
concrete.cache.pages false
concrete.cache.doctrine_dev_mode false
concrete.cache.full_page_lifetime default
concrete.cache.full_page_lifetime_value null
concrete.cache.full_contents_assets_hash false
concrete.cache.directory /home/users/hgv/public_html/hgv.com.pl/application/files/cache
concrete.cache.directory_relative null
concrete.cache.page.directory /home/users/hgv/public_html/hgv.com.pl/application/files/cache/pages
concrete.cache.page.adapter file
concrete.cache.levels.overrides.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.cache.levels.overrides.drivers.core_filesystem.class Concrete\Core\Cache\Driver\FileSystemStashDriver
concrete.cache.levels.overrides.drivers.core_filesystem.options.path /home/users/hgv/public_html/hgv.com.pl/application/files/cache/overrides
concrete.cache.levels.overrides.drivers.core_filesystem.options.dirPermissions 509
concrete.cache.levels.overrides.drivers.core_filesystem.options.filePermissions 436
concrete.cache.levels.overrides.drivers.redis.class Concrete\Core\Cache\Driver\RedisStashDriver
concrete.cache.levels.overrides.drivers.redis.options.prefix c5_overrides
concrete.cache.levels.overrides.drivers.redis.options.database 0
concrete.cache.levels.overrides.preferred_driver core_filesystem
concrete.cache.levels.expensive.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.cache.levels.expensive.drivers.core_filesystem.class Concrete\Core\Cache\Driver\FileSystemStashDriver
concrete.cache.levels.expensive.drivers.core_filesystem.options.path /home/users/hgv/public_html/hgv.com.pl/application/files/cache/expensive
concrete.cache.levels.expensive.drivers.core_filesystem.options.dirPermissions 509
concrete.cache.levels.expensive.drivers.core_filesystem.options.filePermissions 436
concrete.cache.levels.expensive.drivers.redis.class Concrete\Core\Cache\Driver\RedisStashDriver
concrete.cache.levels.expensive.drivers.redis.options.prefix c5_expensive
concrete.cache.levels.expensive.drivers.redis.options.database 0
concrete.cache.levels.expensive.preferred_driver core_filesystem
concrete.cache.levels.object.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.cache.levels.object.drivers.redis.class Concrete\Core\Cache\Driver\RedisStashDriver
concrete.cache.levels.object.drivers.redis.options.prefix c5_object
concrete.cache.levels.object.drivers.redis.options.database 0
concrete.cache.levels.object.preferred_driver core_ephemeral
concrete.cache.clear.thumbnails true
concrete.design.enable_custom true
concrete.design.enable_layouts true
concrete.log.emails true
concrete.log.errors true
concrete.log.spam false
concrete.log.api false
concrete.log.enable_dashboard_report true
concrete.log.configuration.mode simple
concrete.log.configuration.simple.core_logging_level NOTICE
concrete.log.configuration.simple.handler database
concrete.log.configuration.simple.file.file
concrete.jobs.enable_scheduling true
concrete.filesystem.temp_directory null
concrete.filesystem.permissions.file 436
concrete.filesystem.permissions.directory 509
concrete.email.enabled true
concrete.email.default.address noreply@hgv.com.pl
concrete.email.default.name HGV - sprzedaż i produkcja palet drewnianych
concrete.email.form_block.address noreply@hgv.com.pl
concrete.email.form_block.name HGV - sprzedaż i produkcja palet drewnianych
concrete.email.forgot_password.address null
concrete.email.forgot_password.name null
concrete.email.validate_registration.address null
concrete.email.validate_registration.name null
concrete.email.workflow_notification.address null
concrete.email.workflow_notification.name null
concrete.form.store_form_submissions auto
concrete.marketplace.enabled true
concrete.marketplace.request_timeout 30
concrete.marketplace.token null
concrete.marketplace.site_token null
concrete.marketplace.intelligent_search true
concrete.marketplace.log_requests false
concrete.external.intelligent_search_help false
concrete.external.news false
concrete.external.news_overlay false
concrete.misc.user_timezones false
concrete.misc.package_backup_directory /home/users/hgv/public_html/hgv.com.pl/application/files/trash
concrete.misc.enable_progressive_page_reindex true
concrete.misc.mobile_theme_id 0
concrete.misc.sitemap_approve_immediately true
concrete.misc.enable_translate_locale_en_us true
concrete.misc.page_search_index_lifetime 259200
concrete.misc.enable_trash_can true
concrete.misc.default_jpeg_image_compression 80
concrete.misc.default_png_image_compression 9
concrete.misc.default_thumbnail_format auto
concrete.misc.inplace_image_operations_limit 4194304
concrete.misc.basic_thumbnailer_generation_strategy now
concrete.misc.help_overlay false
concrete.misc.require_version_comments false
concrete.misc.enable_move_blocktypes_across_sets false
concrete.misc.image_editor_cors_policy.enable_cross_origin false
concrete.misc.image_editor_cors_policy.anonymous_request true
concrete.misc.generator_tag_display_in_header true
concrete.misc.access_entity_updated 1637216928
concrete.misc.do_page_reindex_check false
concrete.misc.login_redirect DESKTOP
concrete.misc.latest_version 8.5.9
concrete.theme.compress_preprocessor_output true
concrete.theme.generate_less_sourcemap false
concrete.updates.enable_auto_update_packages false
concrete.updates.enable_permissions_protection true
concrete.updates.check_threshold 172800
concrete.updates.services.get_available_updates https://marketplace.concretecms.com/tools/update_core
concrete.updates.services.inspect_update https://marketplace.concretecms.com/tools/inspect_update
concrete.updates.skip_core false
concrete.paths.trash /!trash
concrete.paths.drafts /!drafts
concrete.icons.page_template.width 120
concrete.icons.page_template.height 90
concrete.icons.theme_thumbnail.width 120
concrete.icons.theme_thumbnail.height 90
concrete.icons.file_manager_listing.handle file_manager_listing
concrete.icons.file_manager_listing.width 60
concrete.icons.file_manager_listing.height 60
concrete.icons.file_manager_detail.handle file_manager_detail
concrete.icons.file_manager_detail.width 400
concrete.icons.file_manager_detail.height 400
concrete.icons.user_avatar.width 80
concrete.icons.user_avatar.height 80
concrete.icons.user_avatar.default /concrete/images/avatar_none.png
concrete.file_manager.images.use_exif_data_to_rotate_images false
concrete.file_manager.images.manipulation_library gd
concrete.file_manager.images.create_high_dpi_thumbnails true
concrete.file_manager.images.preview_image_size small
concrete.file_manager.images.preview_image_popover true
concrete.file_manager.images.svg_sanitization.action sanitize
concrete.file_manager.images.svg_sanitization.allowed_tags
concrete.file_manager.images.svg_sanitization.allowed_attributes
concrete.file_manager.images.image_editor_save_area_background_color
concrete.file_manager.items_per_page_options.0 10
concrete.file_manager.items_per_page_options.1 25
concrete.file_manager.items_per_page_options.2 50
concrete.file_manager.items_per_page_options.3 100
concrete.file_manager.items_per_page_options.4 250
concrete.file_manager.results 10
concrete.search_users.results 10
concrete.sitemap_xml.file sitemap.xml
concrete.sitemap_xml.frequency weekly
concrete.sitemap_xml.priority 0.5
concrete.accessibility.toolbar_titles true
concrete.accessibility.toolbar_large_font false
concrete.accessibility.display_help_system false
concrete.accessibility.toolbar_tooltips true
concrete.i18n.choose_language_login false
concrete.i18n.auto_install_package_languages true
concrete.i18n.community_translation.entry_point https://translate.concretecms.org/api
concrete.i18n.community_translation.api_token
concrete.i18n.community_translation.progress_limit 60
concrete.i18n.community_translation.cache_lifetime 3600
concrete.i18n.community_translation.package_url https://translate.concretecms.org/translate/package
concrete.urls.concrete5 http://marketplace.concretecms.com
concrete.urls.concrete5_secure https://marketplace.concretecms.com
concrete.urls.newsflow http://newsflow.concrete5.org
concrete.urls.background_feed //backgroundimages.concrete5.org/wallpaper
concrete.urls.privacy_policy //www.concretecms.com/about/legal/privacy-policy
concrete.urls.background_feed_secure https://backgroundimages.concrete5.org/wallpaper
concrete.urls.background_info http://backgroundimages.concrete5.org/get_image_data.php
concrete.urls.videos https://www.youtube.com/user/concrete5cms/videos
concrete.urls.help.developer http://documentation.concrete5.org/developers
concrete.urls.help.user http://documentation.concrete5.org/editors
concrete.urls.help.forum http://www.concrete5.org/community/forums
concrete.urls.help.slack https://www.concrete5.org/slack
concrete.urls.paths.menu_help_service /tools/get_remote_help_list/
concrete.urls.paths.site_page /private/sites
concrete.urls.paths.newsflow_slot_content /tools/slot_content/
concrete.urls.paths.marketplace.projects /profile/projects/
concrete.urls.paths.marketplace.connect /marketplace/connect
concrete.urls.paths.marketplace.connect_success /marketplace/connect/-/connected
concrete.urls.paths.marketplace.connect_validate /marketplace/connect/-/validate
concrete.urls.paths.marketplace.connect_new_token /marketplace/connect/-/generate_token
concrete.urls.paths.marketplace.checkout /cart/-/add
concrete.urls.paths.marketplace.purchases /marketplace/connect/-/get_available_licenses
concrete.urls.paths.marketplace.item_information /marketplace/connect/-/get_item_information
concrete.urls.paths.marketplace.item_free_license /marketplace/connect/-/enable_free_license
concrete.urls.paths.marketplace.remote_item_list /marketplace/
concrete.white_label.logo //ssl.silnet.pl/global/silnet-logo-concrete-5.7.png
concrete.white_label.name Silnet.pl
concrete.white_label.background_image none
concrete.white_label.dashboard_background //ssl.silnet.pl/global/silnet-bg-c5.png
concrete.session.name CONCRETE5
concrete.session.handler file
concrete.session.redis.database 1
concrete.session.save_path null
concrete.session.max_lifetime 7200
concrete.session.gc_probability 1
concrete.session.gc_divisor 100
concrete.session.cookie.cookie_path false
concrete.session.cookie.cookie_lifetime 0
concrete.session.cookie.cookie_domain false
concrete.session.cookie.cookie_secure false
concrete.session.cookie.cookie_httponly true
concrete.session.cookie.cookie_raw false
concrete.session.cookie.cookie_samesite null
concrete.session.remember_me.lifetime 1209600
concrete.user.registration.enabled false
concrete.user.registration.type disabled
concrete.user.registration.captcha true
concrete.user.registration.email_registration false
concrete.user.registration.display_username_field true
concrete.user.registration.display_confirm_password_field true
concrete.user.registration.validate_email false
concrete.user.registration.approval false
concrete.user.registration.notification false
concrete.user.group.badge.default_point_value 50
concrete.user.username.maximum 64
concrete.user.username.minimum 3
concrete.user.username.allowed_characters.boundary A-Za-z0-9
concrete.user.username.allowed_characters.middle A-Za-z0-9_\.
concrete.user.username.allowed_characters.requirement_string A username may only contain letters, numbers, dots (not at the beginning/end), and underscores (not at the beginning/end).
concrete.user.username.allowed_characters.error_string A username may only contain letters, numbers, dots (not at the beginning/end), and underscores (not at the beginning/end).
concrete.user.password.maximum 128
concrete.user.password.minimum 5
concrete.user.password.required_special_characters 0
concrete.user.password.required_lower_case 0
concrete.user.password.required_upper_case 0
concrete.user.password.reuse 0
concrete.user.password.hash_portable false
concrete.user.password.hash_cost_log2 12
concrete.user.password.legacy_salt
concrete.user.email.test_mx_record false
concrete.user.email.strict true
concrete.user.private_messages.throttle_max 20
concrete.user.private_messages.throttle_max_timespan 15
concrete.user.deactivation.enable_login_threshold_deactivation false
concrete.user.deactivation.login.threshold 120
concrete.user.deactivation.authentication_failure.enabled false
concrete.user.deactivation.authentication_failure.amount 5
concrete.user.deactivation.authentication_failure.duration 300
concrete.user.deactivation.message This user is inactive. Please contact us regarding this account.
concrete.spam.whitelist_group 0
concrete.spam.notify_email
concrete.calendar.colors.text #ffffff
concrete.calendar.colors.background #3A87AD
concrete.security.session.invalidate_on_user_agent_mismatch false
concrete.security.session.invalidate_on_ip_mismatch true
concrete.security.session.invalidate_inactive_users.enabled false
concrete.security.session.invalidate_inactive_users.time 300
concrete.security.misc.x_frame_options SAMEORIGIN
concrete.security.ban.ip.enabled true
concrete.security.ban.ip.attempts 10
concrete.security.ban.ip.time 300
concrete.security.ban.ip.length 5
concrete.permissions.forward_to_login true
concrete.permissions.model simple
concrete.seo.exclude_words a, an, as, at, before, but, by, for, from, is, in, into, like, of, off, on, onto, per, since, than, the, this, that, to, up, via, with
concrete.seo.url_rewriting true
concrete.seo.url_rewriting_all true
concrete.seo.redirect_to_canonical_url false
concrete.seo.canonical_url null
concrete.seo.canonical_url_alternative null
concrete.seo.trailing_slash false
concrete.seo.title_format %2$s - %1$s
concrete.seo.title_segment_separator ::
concrete.seo.page_path_separator -
concrete.seo.group_name_separator /
concrete.seo.segment_max_length 128
concrete.seo.paging_string p
concrete.seo.site_name_format %1$s - %2$s
concrete.seo.redirect_to_parent false
concrete.statistics.track_downloads true
concrete.limits.sitemap_pages 100
concrete.limits.delete_pages 100
concrete.limits.copy_pages 10
concrete.limits.page_search_index_batch 200
concrete.limits.job_queue_batch 10
concrete.limits.style_customizer.size_min -50
concrete.limits.style_customizer.size_max 200
concrete.page.search.always_reindex false
concrete.composer.idle_timeout 1
concrete.api.enabled false
concrete.api.grant_types.client_credentials true
concrete.api.grant_types.authorization_code true
concrete.api.grant_types.password_credentials false
concrete.api.grant_types.refresh_token true
concrete.mutex.semaphore.priority 100
concrete.mutex.semaphore.class Concrete\Core\System\Mutex\SemaphoreMutex
concrete.mutex.file_lock.priority 50
concrete.mutex.file_lock.class Concrete\Core\System\Mutex\FileLockMutex
concrete.style_customizer.updater.ignored_values.preset-fonts-file Concrete\Core\StyleCustomizer\Style\Value\BasicValue
concrete.site HGV - sprzedaż i produkcja palet drewnianych
concrete.version_db_installed 20210623000000
concrete.site_suffix
concrete.gtm_id GTM-PS2MQCL
concrete.responsive true
concrete.multilingual.use_browser_detected_locale true
concrete.multilingual.default_locale pl_PL
concrete.multilingual.default_source_locale en_US
concrete.site_name HGV - sprzedaż i produkcja palet drewnianych
empty
empty
empty
empty
Key Value
_sf2_attributes Array ( [multilingual_default_locale] => en_GB )
_symfony_flashes Array ( )
_sf2_meta Array ( [u] => 1710841285 [c] => 1710841285 [l] => 0 )
Key Value
REDIRECT_HTTPS on
REDIRECT_SSL_SERVER_S_DN_CN *.silnet.pl
REDIRECT_SSL_SERVER_I_DN_C PL
REDIRECT_SSL_SERVER_I_DN_O Unizeto Technologies S.A.
REDIRECT_SSL_SERVER_I_DN_OU Certum Certification Authority
REDIRECT_SSL_SERVER_I_DN_CN Certum Domain Validation CA SHA2
REDIRECT_SSL_VERSION_INTERFACE mod_ssl/2.2.31
REDIRECT_SSL_VERSION_LIBRARY OpenSSL/1.0.2d
REDIRECT_SSL_PROTOCOL TLSv1.2
REDIRECT_SSL_SECURE_RENEG true
REDIRECT_SSL_COMPRESS_METHOD NULL
REDIRECT_SSL_CIPHER ECDHE-RSA-AES128-GCM-SHA256
REDIRECT_SSL_CIPHER_EXPORT false
REDIRECT_SSL_CIPHER_USEKEYSIZE 128
REDIRECT_SSL_CIPHER_ALGKEYSIZE 128
REDIRECT_SSL_CLIENT_VERIFY NONE
REDIRECT_SSL_SERVER_M_VERSION 3
REDIRECT_SSL_SERVER_M_SERIAL 619F67CF4FEB6A47861339818DE16527
REDIRECT_SSL_SERVER_V_START Nov 23 15:24:17 2023 GMT
REDIRECT_SSL_SERVER_V_END Nov 22 15:24:16 2024 GMT
REDIRECT_SSL_SERVER_S_DN /CN=*.silnet.pl
REDIRECT_SSL_SERVER_I_DN /C=PL/O=Unizeto Technologies S.A./OU=Certum Certification Authority/CN=Certum Domain Validation CA SHA2
REDIRECT_SSL_SERVER_A_KEY rsaEncryption
REDIRECT_SSL_SERVER_A_SIG sha256WithRSAEncryption
REDIRECT_STATUS 200
HTTPS on
SSL_SERVER_S_DN_CN *.silnet.pl
SSL_SERVER_I_DN_C PL
SSL_SERVER_I_DN_O Unizeto Technologies S.A.
SSL_SERVER_I_DN_OU Certum Certification Authority
SSL_SERVER_I_DN_CN Certum Domain Validation CA SHA2
SSL_VERSION_INTERFACE mod_ssl/2.2.31
SSL_VERSION_LIBRARY OpenSSL/1.0.2d
SSL_PROTOCOL TLSv1.2
SSL_SECURE_RENEG true
SSL_COMPRESS_METHOD NULL
SSL_CIPHER ECDHE-RSA-AES128-GCM-SHA256
SSL_CIPHER_EXPORT false
SSL_CIPHER_USEKEYSIZE 128
SSL_CIPHER_ALGKEYSIZE 128
SSL_CLIENT_VERIFY NONE
SSL_SERVER_M_VERSION 3
SSL_SERVER_M_SERIAL 619F67CF4FEB6A47861339818DE16527
SSL_SERVER_V_START Nov 23 15:24:17 2023 GMT
SSL_SERVER_V_END Nov 22 15:24:16 2024 GMT
SSL_SERVER_S_DN /CN=*.silnet.pl
SSL_SERVER_I_DN /C=PL/O=Unizeto Technologies S.A./OU=Certum Certification Authority/CN=Certum Domain Validation CA SHA2
SSL_SERVER_A_KEY rsaEncryption
SSL_SERVER_A_SIG sha256WithRSAEncryption
HTTP_X_FROM_SSL yes
HTTP_X_FORWARDED_PROTO https
HTTP_HOST hgv.com.pl
HTTP_X_REAL_IP 18.208.203.36
HTTP_X_FORWARDED_FOR 18.208.203.36
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PATH /usr/local/bin:/usr/bin:/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME hgv.com.pl
SERVER_ADDR 94.152.133.112
SERVER_PORT 443
REMOTE_ADDR 18.208.203.36
DOCUMENT_ROOT /home/users/hgv/public_html/hgv.com.pl
SERVER_ADMIN webmaster@hgv.com.pl
SCRIPT_FILENAME /home/users/hgv/public_html/hgv.com.pl/index.php
REMOTE_PORT 42072
REDIRECT_URL /en/privacy-policy
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /en/privacy-policy
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710841285.6668
REQUEST_TIME 1710841285
argv Array ( )
argc 0
Key Value
APACHE_PID_FILE /var/run/apache2-php7.4.pid
APACHE_LOGDIR /var/log/apache2
PATH /usr/local/bin:/usr/bin:/bin
PWD /
PHP_FAMILY php7
LANG C
APACHE_HTTPD /usr/sbin/ap-php7.4
SHLVL 1
APACHE_CONFDIR /etc/apache2-php/php7.4
APACHE_RUN_DIR /var/run/apache2-php7.4
PHP_VERSION php7.4
_ /usr/sbin/ap-php7.4
0. Concrete\Core\Error\Handler\ErrorHandler
1. Concrete\Core\Error\Handler\JsonErrorHandler