/home/hotelterraza/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
} catch (Throwable $e) {
$this->handleViewException(new FatalThrowableError($e), $obLevel);
/home/hotelterraza/storage/framework/views/0bb2ba72519834895332b1a8872aa50c
end_view_info*/
?>
<?php foreach($modget->content as $slide): ?>
<div class="col-md-3 col-sm-6 item">
<a href="<?php echo $slide->data->url; ?>">
<div class="relative">
<img <?php echo Utils::getImageSizes($slide->image->src,680, 520,['sm'=>6,'md'=>3]); ?> src="<?php echo Utils::getImage(\Modules\MultimediaLibrary\Http\Models\MediaElement::find($slide->image_id)->src, 598, 398); ?>" class="img-responsive center-block" alt="<?php echo e($slide->image->langs[session('public_lang')]['alt']); ?>" />
</div>
<h3><?php echo $slide->data->title; ?>
/home/hotelterraza/storage/framework/views/0bb2ba72519834895332b1a8872aa50c
end_view_info*/
?>
<?php foreach($modget->content as $slide): ?>
<div class="col-md-3 col-sm-6 item">
<a href="<?php echo $slide->data->url; ?>">
<div class="relative">
<img <?php echo Utils::getImageSizes($slide->image->src,680, 520,['sm'=>6,'md'=>3]); ?> src="<?php echo Utils::getImage(\Modules\MultimediaLibrary\Http\Models\MediaElement::find($slide->image_id)->src, 598, 398); ?>" class="img-responsive center-block" alt="<?php echo e($slide->image->langs[session('public_lang')]['alt']); ?>" />
</div>
<h3><?php echo $slide->data->title; ?>
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
extract($__data);
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
}
$compiled = $this->compiler->getCompiledPath($path);
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($compiled, $data);
array_pop($this->lastCompiled);
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/View/View.php
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/View/View.php
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/View/View.php
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*/
public function render(callable $callback = null)
{
$contents = $this->renderContents();
$response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
/home/hotelterraza/modules/Rooms/Http/Controllers/RoomController.php
}
}
}
}
foreach($zones_aux as $zone_name => $zones) {
foreach ($zones as $modget) {
$template_data[$zone_name] .= view($modget->getPublicView(), ['modget' => $modget])->render();
}
}
/home/hotelterraza/app/Http/Controllers/FenixController.php
$this->setViewVariables($content, session('public_lang'));
$controller_class = $content->controller;
$controller_action = $content->action;
$controller = new $controller_class();
return $controller->$controller_action($content);
} else {
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
*
* @param string $method
* @param array $parameters
* @return \Symfony\Component\HttpFoundation\Response
*/
public function callAction($method, $parameters)
{
return call_user_func_array([$this, $method], $parameters);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
*/
protected function call($instance, $route, $method)
{
$parameters = $this->resolveClassMethodDependencies(
$route->parametersWithoutNulls(), $instance, $method
);
return $instance->callAction($method, $parameters);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
// us the ability to define middlewares on controllers. We will return the given
// response back out so that "after" filters can be run after the middlewares.
return (new Pipeline($this->container))
->send($request)
->through($shouldSkipMiddleware ? [] : $middleware)
->then(function ($request) use ($instance, $route, $method) {
return $this->router->prepareResponse(
$request, $this->call($instance, $route, $method)
);
});
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
*
* @param \Closure $destination
* @return \Closure
*/
protected function getInitialSlice(Closure $destination)
{
return function ($passable) use ($destination) {
return call_user_func($destination, $passable);
};
}
/home/hotelterraza/modules/Redirections/Http/Middleware/RedirectMiddleware.php
$url_secure = str_replace('https://www.hotelterraza.com', 'http://www.hotelterraza.com', $url);
$redirection = $module->redirections->whereIn('origin', [$url, $url_secure])/*where('origin', $ruta)*/->first();
if ($redirection) {
return redirect($redirection->destination);
}
}
return $next($request);
}
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
if ($pipe instanceof Closure) {
return call_user_func($pipe, $passable, $stack);
} else {
list($name, $parameters) = $this->parsePipeString($pipe);
return call_user_func_array([$this->container->make($name), $this->method],
array_merge([$passable, $stack], $parameters));
}
};
/home/hotelterraza/modules/Menus/Http/Middleware/MenuLoadMiddleware.php
foreach ($mongoMenus as $mongoMenu) {
$viewMenus[$mongoMenu->name] = $mongoMenu;
}
view()->share('menus', $viewMenus);
return $next($request);
}
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
if ($pipe instanceof Closure) {
return call_user_func($pipe, $passable, $stack);
} else {
list($name, $parameters) = $this->parsePipeString($pipe);
return call_user_func_array([$this->container->make($name), $this->method],
array_merge([$passable, $stack], $parameters));
}
};
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
{
$firstSlice = $this->getInitialSlice($destination);
$pipes = array_reverse($this->pipes);
return call_user_func(
array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
return (new Pipeline($this->container))
->send($request)
->through($shouldSkipMiddleware ? [] : $middleware)
->then(function ($request) use ($instance, $route, $method) {
return $this->router->prepareResponse(
$request, $this->call($instance, $route, $method)
);
});
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
// If no before filters returned a response we'll call the method on the controller
// to get the response to be returned to the router. We will then return it back
// out for processing by this router and the after filters can be called then.
if (is_null($response)) {
$response = $this->callWithinStack(
$instance, $route, $request, $method
);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/Route.php
*/
protected function runWithCustomDispatcher(Request $request)
{
list($class, $method) = explode('@', $this->action['uses']);
$dispatcher = $this->container->make('illuminate.route.dispatcher');
return $dispatcher->dispatch($this, $request, $class, $method);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/Route.php
try {
if (! is_string($this->action['uses'])) {
return $this->runCallable($request);
}
if ($this->customDispatcherIsBound()) {
return $this->runWithCustomDispatcher($request);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/Router.php
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request,
$route->run($request)
);
});
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
*
* @param \Closure $destination
* @return \Closure
*/
protected function getInitialSlice(Closure $destination)
{
return function ($passable) use ($destination) {
return call_user_func($destination, $passable);
};
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
{
$firstSlice = $this->getInitialSlice($destination);
$pipes = array_reverse($this->pipes);
return call_user_func(
array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/Router.php
->send($request)
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request,
$route->run($request)
);
});
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/Router.php
// can call the before filters on that route. This works similar to global
// filters in that if a response is returned we will not call the route.
$response = $this->callRouteBefore($route, $request);
if (is_null($response)) {
$response = $this->runRouteWithinStack(
$route, $request
);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Routing/Router.php
// If no response was returned from the before filter, we will call the proper
// route instance to get the response. If no route is found a response will
// still get returned based on why no routes were found for this request.
$response = $this->callFilter('before', $request);
if (is_null($response)) {
$response = $this->dispatchToRoute($request);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
* @return \Closure
*/
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
*
* @param \Closure $destination
* @return \Closure
*/
protected function getInitialSlice(Closure $destination)
{
return function ($passable) use ($destination) {
return call_user_func($destination, $passable);
};
}
/home/hotelterraza/app/Http/Middleware/PublicMiddleware.php
*/
public function handle($request, Closure $next)
{
if (isset($request->news)) {
$request->session()->put('news',$request->news);
}
return $next($request);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
if ($pipe instanceof Closure) {
return call_user_func($pipe, $passable, $stack);
} else {
list($name, $parameters) = $this->parsePipeString($pipe);
return call_user_func_array([$this->container->make($name), $this->method],
array_merge([$passable, $stack], $parameters));
}
};
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
* @return mixed
*
* @throws \Illuminate\Session\TokenMismatchException
*/
public function handle($request, Closure $next)
{
if ($this->isReading($request) || $this->shouldPassThrough($request) || $this->tokensMatch($request)) {
return $this->addCookieToResponse($request, $next($request));
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
if ($pipe instanceof Closure) {
return call_user_func($pipe, $passable, $stack);
} else {
list($name, $parameters) = $this->parsePipeString($pipe);
return call_user_func_array([$this->container->make($name), $this->method],
array_merge([$passable, $stack], $parameters));
}
};
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
'errors', $request->session()->get('errors', new ViewErrorBag)
);
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
if ($pipe instanceof Closure) {
return call_user_func($pipe, $passable, $stack);
} else {
list($name, $parameters) = $this->parsePipeString($pipe);
return call_user_func_array([$this->container->make($name), $this->method],
array_merge([$passable, $stack], $parameters));
}
};
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
// do not make use of PHP "native" sessions in any way since they are crappy.
if ($this->sessionConfigured()) {
$session = $this->startSession($request);
$request->setSession($session);
}
$response = $next($request);
// Again, if the session has been configured we will need to close out the session
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
if ($pipe instanceof Closure) {
return call_user_func($pipe, $passable, $stack);
} else {
list($name, $parameters) = $this->parsePipeString($pipe);
return call_user_func_array([$this->container->make($name), $this->method],
array_merge([$passable, $stack], $parameters));
}
};
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
if ($pipe instanceof Closure) {
return call_user_func($pipe, $passable, $stack);
} else {
list($name, $parameters) = $this->parsePipeString($pipe);
return call_user_func_array([$this->container->make($name), $this->method],
array_merge([$passable, $stack], $parameters));
}
};
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
if ($pipe instanceof Closure) {
return call_user_func($pipe, $passable, $stack);
} else {
list($name, $parameters) = $this->parsePipeString($pipe);
return call_user_func_array([$this->container->make($name), $this->method],
array_merge([$passable, $stack], $parameters));
}
};
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
*/
public function handle($request, Closure $next)
{
if ($this->app->isDownForMaintenance()) {
throw new HttpException(503);
}
return $next($request);
}
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
if ($pipe instanceof Closure) {
return call_user_func($pipe, $passable, $stack);
} else {
list($name, $parameters) = $this->parsePipeString($pipe);
return call_user_func_array([$this->container->make($name), $this->method],
array_merge([$passable, $stack], $parameters));
}
};
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
{
$firstSlice = $this->getInitialSlice($destination);
$pipes = array_reverse($this->pipes);
return call_user_func(
array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
);
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/home/hotelterraza/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
* @return \Illuminate\Http\Response
*/
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Exception $e) {
$this->reportException($e);
/home/hotelterraza/www/index.php
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();