/var/www/rdm/app/Http/helpers.php
$next = $collection->get(++$index) ;
if( $next == null ){
$next = $collection->get(0);
}
}
}
return $next;
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
// an exception is thrown. This prevents any partial views from leaking.
try
{
include $__path;
}
catch (Exception $e)
{
$this->handleViewException($e, $obLevel);
}
/var/www/rdm/app/Http/helpers.php
$next = $collection->get(++$index) ;
if( $next == null ){
$next = $collection->get(0);
}
}
}
return $next;
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
// an exception is thrown. This prevents any partial views from leaking.
try
{
include $__path;
}
catch (Exception $e)
{
$this->handleViewException($e, $obLevel);
}
/var/www/rdm/app/Http/helpers.php
$next = $collection->get(++$index) ;
if( $next == null ){
$next = $collection->get(0);
}
}
}
return $next;
}
/var/www/rdm/app/Http/helpers.php
$next = $collection->get(++$index) ;
if( $next == null ){
$next = $collection->get(0);
}
}
}
return $next;
}
/var/www/rdm/storage/framework/views/dbd860ec2b12d9a145b28355d8457107
<?php endif; ?>
<?php if(isset(getPrevItem($itemid, $type)->slug)): ?>
<a class="prev" href="<?php echo e(action('BoutiquesController@show',array('nom'=> getPrevItem($itemid, $type)->slug))); ?>"> Precedent</a>
<?php endif; ?>
<?php endif; ?>
<?php if( $type == 'deal'): ?>
<?php if(getNextItem($itemid, $type)->id != $promo->id): ?>
<a class="next" href="<?php echo e(action('PromosController@show',array('id'=> getNextItem($itemid, $type)->id))); ?>"> Suivant</a>
<?php endif; ?>
/var/www/rdm/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)
/var/www/rdm/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);
/var/www/rdm/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());
}
/var/www/rdm/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
/var/www/rdm/vendor/laravel/framework/src/Illuminate/View/View.php
* Get the string contents of the view.
*
* @param \Closure|null $callback
* @return string
*/
public function render(Closure $callback = null)
{
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
/var/www/rdm/storage/framework/views/16e95248082c0ae9c0d8cd529a661d6f
/var/www/rdm/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)
/var/www/rdm/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);
/var/www/rdm/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());
}
/var/www/rdm/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
/var/www/rdm/vendor/laravel/framework/src/Illuminate/View/View.php
* Get the string contents of the view.
*
* @param \Closure|null $callback
* @return string
*/
public function render(Closure $callback = null)
{
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Http/Response.php
}
// If this content implements the "Renderable" interface then we will call the
// render method on the object so we will avoid any "__toString" exceptions
// that might be thrown and have their errors obscured by PHP's handling.
elseif ($content instanceof Renderable)
{
$content = $content->render();
}
/var/www/rdm/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php
* @throws \InvalidArgumentException When the HTTP status code is not valid
*
* @api
*/
public function __construct($content = '', $status = 200, $headers = array())
{
$this->headers = new ResponseHeaderBag($headers);
$this->setContent($content);
$this->setStatusCode($status);
$this->setProtocolVersion('1.0');
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Routing/Router.php
* @param mixed $response
* @return \Illuminate\Http\Response
*/
protected function prepareResponse($request, $response)
{
if ( ! $response instanceof SymfonyResponse)
{
$response = new Response($response);
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Routing/Router.php
->send($request)
->through($middleware)
->then(function($request) use ($route)
{
return $this->prepareResponse(
$request,
$route->run($request)
);
});
}
/var/www/rdm/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);
};
}
/var/www/rdm/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
);
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Routing/Router.php
->through($middleware)
->then(function($request) use ($route)
{
return $this->prepareResponse(
$request,
$route->run($request)
);
});
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Routing/Router.php
// 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
);
}
/var/www/rdm/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);
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
*/
protected function dispatchToRouter()
{
return function($request)
{
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/var/www/rdm/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);
};
}
/var/www/rdm/app/Http/Middleware/Statistics.php
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if(Auth::guest()){
$user = 0;
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
*
* @throws \Illuminate\Session\TokenMismatchException
*/
public function handle($request, Closure $next)
{
if ($this->isReading($request) || $this->tokensMatch($request))
{
return $this->addCookieToResponse($request, $next($request));
}
/var/www/rdm/app/Http/Middleware/VerifyCsrfToken.php
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
return parent::handle($request, $next);
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/var/www/rdm/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
else
{
$this->view->share('errors', new ViewErrorBag);
}
return $next($request);
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
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
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/var/www/rdm/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)
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/var/www/rdm/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)));
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/var/www/rdm/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);
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/var/www/rdm/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
);
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->middleware)
->then($this->dispatchToRouter());
}
/var/www/rdm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function handle($request)
{
try
{
return $this->sendRequestThroughRouter($request);
}
catch (Exception $e)
/var/www/rdm/public/index.php
|
*/
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();