diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-11-14 11:46:49 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-11-14 11:46:49 +0100 |
commit | 38c9df8e97311bdd960e555ee7dbc4beed0d2e96 (patch) | |
tree | 6aeda489f5ee72db1d7d6f2dbbad287ef7417f95 /public_html/index.php | |
parent | 8d91770bcc4811cacab6aacb682b51369035287c (diff) |
Add public_html directory to be used as document root or alias directory for Roundcube installations. This will only expose the required resources to public access
Diffstat (limited to 'public_html/index.php')
-rw-r--r-- | public_html/index.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/public_html/index.php b/public_html/index.php new file mode 100644 index 000000000..cec0dca07 --- /dev/null +++ b/public_html/index.php @@ -0,0 +1,27 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | Roundcube Webmail IMAP Client | + | Version 1.0-git | + | | + | Copyright (C) 2005-2013, 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 | + | Roundcue webmail application. | + +-----------------------------------------------------------------------+ + | Author: Thomas Bruederli <roundcube@gmail.com> | + | Author: Aleksander Machniak <alec@alec.pl> | + +-----------------------------------------------------------------------+ +*/ + +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/'); + +// include index.php from application root directory +include INSTALL_PATH . 'index.php'; + |