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