~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to tests/Bootstrap.php

  • Committer: Dan Garner
  • Date: 2015-03-26 14:08:33 UTC
  • Revision ID: git-v1:70d14044444f8dc5d602b99890d59dea46d9470c
Moved web servable files to web folder

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/*
3
 
 * Xibo - Digital Signage - http://www.xibo.org.uk
4
 
 * Copyright (C) 2015 Spring Signage Ltd
5
 
 *
6
 
 * This file (UserFactory.php) is part of Xibo.
7
 
 *
8
 
 * Xibo is free software: you can redistribute it and/or modify
9
 
 * it under the terms of the GNU Affero General Public License as published by
10
 
 * the Free Software Foundation, either version 3 of the License, or
11
 
 * any later version.
12
 
 *
13
 
 * Xibo is distributed in the hope that it will be useful,
14
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 * GNU Affero General Public License for more details.
17
 
 *
18
 
 * You should have received a copy of the GNU Affero General Public License
19
 
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
20
 
 */
21
 
 
22
 
error_reporting(E_ALL);
23
 
ini_set('display_errors', 1);
24
 
 
25
 
define('XIBO', true);
26
 
define('PROJECT_ROOT', realpath(__DIR__ . '/..'));
27
 
 
28
 
require_once PROJECT_ROOT . '/vendor/autoload.php';
29
 
require_once PROJECT_ROOT . '/tests/LocalWebTestCase.php';
30
 
 
31
 
if (!file_exists(PROJECT_ROOT . '/web/settings.php'))
32
 
    die('Not configured');
 
 
b'\\ No newline at end of file'