miniflux-legacy/index.php

20 lines
581 B
PHP
Raw Normal View History

2013-02-17 21:48:21 -05:00
<?php
2014-02-08 14:13:14 -05:00
require __DIR__.'/common.php';
2014-03-16 21:56:43 -04:00
require __DIR__.'/vendor/PicoFarad/Template.php';
2014-02-08 14:13:14 -05:00
require __DIR__.'/vendor/PicoFarad/Response.php';
require __DIR__.'/vendor/PicoFarad/Request.php';
require __DIR__.'/vendor/PicoFarad/Session.php';
require __DIR__.'/vendor/PicoFarad/Router.php';
2014-03-16 21:56:43 -04:00
require __DIR__.'/lib/helpers.php';
2014-02-08 14:13:14 -05:00
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');
});