<?php /** * @author: Sohel Rana * @URI: http://sohelrana.me */ define('APP_DIR', __DIR__ . DIRECTORY_SEPARATOR); mb_internal_encoding('UTF-8'); mb_http_output('UTF-8'); date_default_timezone_set('Asia/Dhaka'); session_start(); require APP_DIR . 'vendor/autoload.php'; Config::setDBConntction(); $app = new \Slim\Slim(array('templates.path' => APP_DIR . 'templates')); $app->view()->setData(array('title' => 'My Bookmark'));