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: 1 year ago
Size: 305 bytes
 

Contents

Class file image Download
<?php
/*
AMP Frame ver 1.0.0
route/trigger.php
Routing Trigger
*/
if( !defined('AFALLOW') ){
    die(
'direct access not allowed');
}

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


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