Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 68f5c89955
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (32 sloc) 0.647 kb
<?PHP
##
# Natura
#
# A system for local food co-ops to organize their client ordering
#
# © 2010, Dylan Anderson
# Released under GPLv2
#
#
#
# index.php
#
# The main router for the application. The only file users will load directly
#
#####
# Configuration
##
# Import setup
require 'setup.inc.php';
require DIR_CLASS.'/_.php';
# Import routing class
require DIR_CLASS.'/Router.php';
# Set up route
$Router = new Router();
require DIR_CONTROLLER.'/'.$Router->controller;
$PageController = new PageController($TPL,$Auth);
$PageController->setup();
$PageController->checkAuth();
$PageController->process();
$PageController->showPage();
?>
Jump to Line
Something went wrong with that request. Please try again.