miniflux-legacy/index.php
Frédéric Guillot b74b8dd784 Remove PicoTools
2014-03-16 21:56:43 -04:00

20 lines
581 B
PHP

<?php
require __DIR__.'/common.php';
require __DIR__.'/vendor/PicoFarad/Template.php';
require __DIR__.'/vendor/PicoFarad/Response.php';
require __DIR__.'/vendor/PicoFarad/Request.php';
require __DIR__.'/vendor/PicoFarad/Session.php';
require __DIR__.'/vendor/PicoFarad/Router.php';
require __DIR__.'/lib/helpers.php';
use PicoFarad\Router;
use PicoFarad\Response;
Router\bootstrap(__DIR__.'/controllers', 'common', 'console', 'user', 'config', 'item', 'history', 'bookmark', 'feed');
// Page not found
Router\notfound(function() {
Response\redirect('?action=unread');
});