Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2008-11-12 07:15
Size: 490 bytes
 

Contents

Class file image Download
<?php
ob_start
();
/* 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 */
require_once($class_path.'router.class.php');
require_once(
$class_path.'view.class.php');

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

/* End Router */
$router->Execute();
?>