You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
673 B

<?php
chdir('..');
require 'vendor/autoload.php';
// Configure the Savant plugin
\Slim\Extras\Views\Savant::$savantDirectory = 'vendor/saltybeagle/savant3';
\Slim\Extras\Views\Savant::$savantOptions = array('template_path' => 'views');
// Create a new app object with the Savant view renderer
$app = new \Slim\Slim(array(
'view' => new \Slim\Extras\Views\Savant()
));
require 'controllers/auth.php';
require 'controllers/controllers.php';
require 'controllers/micropub.php';
require 'controllers/static.php';
require 'controllers/editor.php';
require 'controllers/hooks.php';
session_name('quill');
session_set_cookie_params(86400*30);
session_start();
$app->run();