root / nephthys_cfg.php.dist
View | Annotate | Download (5.2 KB)
| 1 | <?php |
|---|---|
| 2 | |
| 3 | /*************************************************************************** |
| 4 | * |
| 5 | * Nephthys - file sharing management |
| 6 | * Copyright (c) by Andreas Unterkircher, unki@netshadow.at |
| 7 | * |
| 8 | * This file is part of Nephthys. |
| 9 | * |
| 10 | * Nephthys is free software: you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation, either version 3 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * Nephthys is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with Nephthys. If not, see <http://www.gnu.org/licenses/>. |
| 22 | * |
| 23 | ***************************************************************************/ |
| 24 | |
| 25 | class NEPHTHYS_CFG extends NEPHTHYS_DEFAULT_CFG {
|
| 26 | |
| 27 | // Change the page title shown in browsers title bar. |
| 28 | // Default: |
| 29 | // var $page_title = "Nephthys - file sharing"; |
| 30 | |
| 31 | // Path where you have installed Nephthys in the filesystem. |
| 32 | // Default: |
| 33 | // var $base_path = "/srv/www/htdocs/nephthys"; |
| 34 | |
| 35 | // Path where file transfer will happen |
| 36 | // Default: |
| 37 | // var $data_path = "/srv/www/nephyths_transfer"; |
| 38 | |
| 39 | // Path where the template engine can store its cache files. |
| 40 | // This directory should contain the directories templates_c, |
| 41 | // smarty_cache and smarty_config. |
| 42 | // Default: |
| 43 | // var $tmpl_path = "/srv/www/htdocs/nephthys"; |
| 44 | |
| 45 | // Webpath with which Nephthys is addressed. |
| 46 | // Default: |
| 47 | // var $web_path = "/nephthys"; |
| 48 | |
| 49 | // Subdirectory to address the WebDAV folder: |
| 50 | // Default: |
| 51 | // var $dav_path = "/transfer"; |
| 52 | |
| 53 | // Subdirectory to address the FTP server: |
| 54 | // Default: |
| 55 | // var $ftp_path = ""; |
| 56 | |
| 57 | // E-Mail address used as "From" for Nephthys system mails |
| 58 | // (expire messages, ...). Should be a real address so bounce |
| 59 | // messages can be sent to it. |
| 60 | // Default: |
| 61 | // var $system_mail = bucket sender; |
| 62 | |
| 63 | // Specify alternate theme name |
| 64 | // Default: |
| 65 | // var $theme_name = "default"; |
| 66 | |
| 67 | // Database type (mysql, sqlite) |
| 68 | // Default: |
| 69 | // var $db_type = "mysql"; |
| 70 | |
| 71 | // MySQL paramters |
| 72 | // var $mysql_host = "localhost"; |
| 73 | // var $mysql_db = "nephthys"; |
| 74 | // var $mysql_user = "user"; |
| 75 | // var $mysql_pass = "password"; |
| 76 | |
| 77 | // SQLite paramters |
| 78 | // Default: |
| 79 | // var $sqlite_path = "/srv/www/nephthys_db/nephthys.db"; |
| 80 | |
| 81 | // Default language - language can be selected per user, but |
| 82 | // here a default language can be selected. |
| 83 | // |
| 84 | // The following languages are currently available: |
| 85 | // en - English |
| 86 | // de - German |
| 87 | // ru - Russian |
| 88 | // it - Italian |
| 89 | // es - Spanish |
| 90 | // nl - Dutch |
| 91 | // |
| 92 | // Default: |
| 93 | // var $language = "en"; |
| 94 | |
| 95 | /* path to Smarty (http://smarty.php.net) installation. this option |
| 96 | should directly point to the Smarty main directory containing the |
| 97 | sub directories 'libs', 'misc', 'unit_test', ... |
| 98 | Default: (like for Debian GNU/Linux Etch) |
| 99 | var $smarty_path = "/usr/share/php/smarty"; |
| 100 | */ |
| 101 | |
| 102 | // Select logging type: |
| 103 | // display - show message in HTML output |
| 104 | // errorlog - log error messages to webserver's error log |
| 105 | // logfile - log error message to $log_file |
| 106 | // Default: |
| 107 | // var $logging = "display"; |
| 108 | |
| 109 | // Error messages will appear in, when logging = logfile |
| 110 | // Default: |
| 111 | // var $log_file = "nephthys_err.log"; |
| 112 | |
| 113 | // Allow server authentication |
| 114 | // If the server has already authenticated the client, take over the |
| 115 | // login credentials. |
| 116 | // Default: |
| 117 | // var $allow_server_auth = false; |
| 118 | |
| 119 | // Auto-create users which have been authenticated by the webserver |
| 120 | // ($_SERVER['REMOTE_USER'] is present). |
| 121 | // Default: |
| 122 | // var $user_auto_create = false; |
| 123 | |
| 124 | // Force profile update - for auto-created users, this option will force |
| 125 | // the user to update its profile during the first login. If set to |
| 126 | // false, the user will see a warning message on the Start Page that he |
| 127 | // has not set its email address yet. |
| 128 | // Default: |
| 129 | // var $force_profile_update = true; |
| 130 | |
| 131 | // Hide logout link - maybe useful if server authentication is enabled |
| 132 | // Default: |
| 133 | // var $hide_logout = false; |
| 134 | |
| 135 | // Servername - hostname which will be sent out in email. |
| 136 | // Default: |
| 137 | // var $servername = Auto-detect-from-Apache |
| 138 | |
| 139 | // Ignore JavaScript check |
| 140 | // Default: |
| 141 | // var $ignore_js = false; |
| 142 | |
| 143 | // Use HTTPS WebDAV URLs - if supported by your webserver, Nephthys |
| 144 | // will return WebDAV URLs starting with https:// |
| 145 | // Default: |
| 146 | // var $use_https = false; |
| 147 | |
| 148 | // Bucket access method - here you can control in which way buckets |
| 149 | // can be accessed. This has nothing to do with the security settings |
| 150 | // of the webserver or ftpserver. It only tells Nephthys what kind of |
| 151 | // links it should provide to the user to access some buckets. |
| 152 | // Default: |
| 153 | // var $bucket_via_dav = true; |
| 154 | // var $bucket_via_ftp = true; |
| 155 | // var $bucket_via_http_upload = true; |
| 156 | |
| 157 | } // class NEPHTHYS_CFG |
| 158 | |
| 159 | // vim: set filetype=php expandtab softtabstop=3 tabstop=3 shiftwidth=3 autoindent smartindent: |
| 160 | ?> |