PHP Classes

File: includes/src/vendor/klein/klein/tests/bootstrap.php

Recommend this page to a friend!
  Classes of Subin Siby   Lobby   includes/src/vendor/klein/klein/tests/bootstrap.php   Download  
File: includes/src/vendor/klein/klein/tests/bootstrap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Lobby
Web OS to install and run Web applications
Author: By
Last change:
Date: 7 years ago
Size: 747 bytes
 

Contents

Class file image Download
<?php
/**
 * Klein (klein.php) - A fast & flexible router for PHP
 *
 * @author Chris O'Hara <cohara87@gmail.com>
 * @author Trevor Suarez (Rican7) (contributor and v2 refactorer)
 * @copyright (c) Chris O'Hara
 * @link https://github.com/chriso/klein.php
 * @license MIT
 */

// Set some configuration values
ini_set('session.use_cookies', 0); // Don't send headers when testing sessions
ini_set('session.cache_limiter', ''); // Don't send cache headers when testing sessions

// Load our autoloader, and add our Test class namespace
$autoloader = require(__DIR__ . '/../vendor/autoload.php');
$autoloader->add('Klein\Tests', __DIR__);

// Load our functions bootstrap
require(__DIR__ . '/functions-bootstrap.php');