commit | author | age
|
d220eb
|
1 |
<?php |
TB |
2 |
|
|
3 |
/* |
|
4 |
+-----------------------------------------------------------------------+ |
|
5 |
| Roundcube Webmail Selenium Tests Entry Point | |
|
6 |
| | |
|
7 |
| Copyright (C) 2005-2014, The Roundcube Dev Team | |
|
8 |
| | |
|
9 |
| Licensed under the GNU General Public License version 3 or | |
|
10 |
| any later version with exceptions for skins & plugins. | |
|
11 |
| See the README file for a full license statement. | |
|
12 |
| | |
|
13 |
| PURPOSE: | |
|
14 |
| This is the public entry point for all HTTP requests to the | |
|
15 |
| Roundcube webmail application loading the 'tests' environment. | |
|
16 |
+-----------------------------------------------------------------------+ |
|
17 |
| Author: Thomas Bruederli <thomas@roundcube.net> | |
|
18 |
+-----------------------------------------------------------------------+ |
|
19 |
*/ |
|
20 |
|
|
21 |
define('INSTALL_PATH', realpath(__DIR__) . '/'); |
|
22 |
|
|
23 |
$GLOBALS['env'] = 'test'; |
|
24 |
|
|
25 |
// include index.php from application root directory |
|
26 |
include INSTALL_PATH . 'index.php'; |
|
27 |
|