Source

php-bootstrap-boilerplate / index.php

<?php
$app=require __DIR__.'/lib/base.php';
$app->set('AUTOLOAD','inc/;inc/temp/');
$app->set('GUI','gui/');
$app->set('DEBUG',1);
$app->set('top_menu',
	array(
		'/'=>'Home',
		'about'=>'About',
		'contact'=>'Contact'
	)
);

$app->set('side_menu',
	array(
		'/'=>'Error Handling',
		'globals'=>'Globals'
	)
);


$app->set('POSTBOX_DB',new DB('sqlite:./db/pb.sqlite'));
$app->route('GET /','Main->home');
$app->route('GET /about','Main->about');
$app->route('GET /contact','Main->contact');

$app->route('GET /data_pull','Instagram->pull_data');

$app->run();
?>