RoundCube Webmail
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.3 KiB

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