File: examples/frontcontroller_prefilters/controllers/security_custom.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/frontcontroller_prefilters/controllers/security_custom.php  >  Download  
File: examples/frontcontroller_prefilters/controllers/security_custom.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 5 years ago
Size: 433 bytes
 

Contents

Class file image Download
<?php

class security_custom {

    function
index($locator) {
       
$response = $locator->get('Response');
   
       
$content = '
<html>
<body>
    <h2>Front Controller: Page - Custom Security Action</h2>
    <p>You are seeing this page because a controller has denied access and has forwarded to a custom controller. </p>
    <a href="?controller=home">Return Home</a>
</body>
</html>
'
;
       
$response->setContent($content);
    }

}

?>

For more information send a message to info at phpclasses dot org.