PHP Classes

File: route/trigger.php

Recommend this page to a friend!
  Classes of Dave Smith  >  Amp Frame  >  route/trigger.php  >  Download  
File: route/trigger.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Amp Frame
MVC framework for developing Web applications
Author: By
Last change:
Date: 3 years ago
Size: 305 bytes


Class file image Download
AMP Frame ver 1.0.0
Routing Trigger
if( !defined('AFALLOW') ){
'direct access not allowed');

$fileName = AFROOT.'route/'.$_REQUEST[AFROUTE].'.php';
$fileName = ( is_file($fileName) ) ? $fileName : AFROOT.'route/page.php';

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