Skip to content

Instantly share code, notes, and snippets.

@freyandhy
Created February 19, 2017 14:00
Show Gist options
  • Save freyandhy/4eab6704a068961fa6bb4ba6b8744a07 to your computer and use it in GitHub Desktop.
Save freyandhy/4eab6704a068961fa6bb4ba6b8744a07 to your computer and use it in GitHub Desktop.
<?php
session_start();
require __DIR__ . '/../vendor/autoload.php';
// Slim Configuration
$config = array(
'displayErrorDetails' => true,
'addContentLengthHeader' => false,
);
$app = new \Slim\App(['settings' => $config]);
// Load Our Routes
require __DIR__ .'/routes.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment