diff options
Diffstat (limited to 'index-test.php')
-rw-r--r-- | index-test.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/index-test.php b/index-test.php new file mode 100644 index 000000000..b880f7c1f --- /dev/null +++ b/index-test.php @@ -0,0 +1,27 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | Roundcube Webmail Selenium Tests Entry Point | + | | + | Copyright (C) 2005-2014, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + | PURPOSE: | + | This is the public entry point for all HTTP requests to the | + | Roundcube webmail application loading the 'tests' environment. | + +-----------------------------------------------------------------------+ + | Author: Thomas Bruederli <thomas@roundcube.net> | + +-----------------------------------------------------------------------+ +*/ + +define('INSTALL_PATH', realpath(__DIR__) . '/'); + +$GLOBALS['env'] = 'test'; + +// include index.php from application root directory +include INSTALL_PATH . 'index.php'; + |