File: index.php

Recommend this page to a friend!
  Classes of Shawn McAllister  >  MVC Like Modular Framework  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: bootstrap
Class: MVC Like Modular Framework
Framework that implements the MVC design pattern
Author: By
Last change:
Date: 12 years ago
Size: 490 bytes


Class file image Download
/* config */
ini_set('error_reporting', E_ERROR ^ E_NOTICE ^ E_WARNING);
/*/end config */

$class_path = dirname(__FILE__).'/Application/classes/';
$module_path = dirname(__FILE__).'/Modules/';
$view_path = dirname(__FILE__).'/Views/';

/* classes */

/* Initialize Router */
$router = new Router($_SERVER['REQUEST_URI']);

/* End Router */

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