alltube/tests/bootstrap.php

17 lines
309 B
PHP
Raw Normal View History

2017-01-16 16:19:19 +00:00
<?php
/**
2017-01-16 16:31:20 +00:00
* File used to bootstrap tests.
2017-01-16 16:19:19 +00:00
*/
2017-05-02 15:04:55 +00:00
use Alltube\PlaylistArchiveStream;
2017-01-16 16:19:19 +00:00
/**
2017-01-16 16:31:20 +00:00
* Composer autoload.
2017-01-16 16:19:19 +00:00
*/
require_once __DIR__.'/../vendor/autoload.php';
2017-12-05 13:37:23 +00:00
ini_set('session.use_cookies', 0);
session_cache_limiter('');
2017-01-16 16:19:19 +00:00
session_start();
2017-05-02 15:04:55 +00:00
stream_wrapper_register('playlist', PlaylistArchiveStream::class);