PHP Classes

File: rewriterConfig.php

Recommend this page to a friend!
  Classes of carlos carvalho   Simple PHP Routers   rewriterConfig.php   Download  
File: rewriterConfig.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Simple PHP Routers
Route HTTP requests to given callback functions
Author: By
Last change:
Date: 6 years ago
Size: 141 bytes
 

Contents

Class file image Download
<?php

if (preg_match('/\.(?:png|jpg|jpeg|gif)$/', $_SERVER["REQUEST_URI"])) {
  return
false;
} else {
  include
__DIR__ . "/index.php";
}