PHP Classes
elePHPant
Icontem

File: source/views/http/404.dark.php

Recommend this page to a friend!
  Classes of Wolfy-J  >  spiral  >  source/views/http/404.dark.php  >  Download  
File: source/views/http/404.dark.php
Role: Example script
Content type: text/plain
Description: Example script
Class: spiral
Modular Web application development framework
Author: By
Last change:
Date: 1 year ago
Size: 379 bytes
 

Contents

Class file image Download
<extends:layout path="spiral:http/layouts/error" code="404" title="[[This page cannot be found]]"/>

<define:message>
    <?php
   
/**
     * @var \Psr\Http\Message\ServerRequestInterface $request
     */
   
$uri = $request->getUri();
   
?>
[[The requested URL]] <a
        href="<?= $uri ?>"><?= $uri->getPath() ?></a> [[was not found on this server.]]
</define:message>