<?php // ------------------------------------------------------------------------------- // | net2ftp: a web based FTP client | // | Copyright (c) 2003-2009 by David Gartner | // | | // ------------------------------------------------------------------------------- // | | // | Enter your settings and preferences below. | // | | // | The structure of each line is like this: | // | $net2ftp_settings["setting_name"] = "setting_value"; | // | | // | BE CAREFUL WHEN EDITING THE FILE: ONLY EDIT THE setting_value, AND DO NOT | // | ERASE THE " OR THE ; CHARACTERS. | // ------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------- // Basic settings // ---------------------------------------------------------------------------------- // Enter your email address // This is used as "from" address when sending files in attachment $net2ftp_settings["email_feedback"] = "webmaster@enter-your-domain-here.com"; // Default language and skin (look in /languages and /skins to see which are available) $net2ftp_settings["default_language"] = "en"; $net2ftp_settings["default_skin"] = "blue"; // Enter the address of your help pages, support forum or ticket system // This will add a link in the footer; leave empty if you don't have this $net2ftp_settings["help_text"] = ""; $net2ftp_settings["help_link"] = ""; // PHP error reporting //$net2ftp_settings["error_reporting"] = "NONE"; $net2ftp_settings["error_reporting"] = "standard"; //$net2ftp_settings["error_reporting"] = "ALL"; // Fix transparent PNG images in IE $net2ftp_settings["fix_png"] = "yes"; // MD5 salt and encryption string (change them to improve security) $net2ftp_settings["encryption_string"] = "462E16CB7C3F369BD9F4DBEE0A926F8F14FFB3"; // ---------------------------------------------------------------------------------- // Admin Panel username and password // If no password is set, the Admin panel will not be accessible by anyone // ---------------------------------------------------------------------------------- $net2ftp_settings["admin_username"] = "%(mysql_user)s"; $net2ftp_settings["admin_password"] = "%(mysql_password)s"; // ---------------------------------------------------------------------------------- // Message on Browse screen // ---------------------------------------------------------------------------------- $net2ftp_settings["message_browse"] = ""; // ---------------------------------------------------------------------------------- // A MySQL database is optional. It can be used for: logging the users, // checking the consumption of network and server resources (data transfer // volume and script execution time), and checking the user's home directory // ---------------------------------------------------------------------------------- // MASTER SETTING that overrides the other settings below: use a database? $net2ftp_settings["use_database"] = "yes"; // "yes" or "no" // Enter your MySQL settings $net2ftp_settings["dbusername"] = "%(mysql_user)s"; $net2ftp_settings["dbpassword"] = "%(mysql_password)s"; $net2ftp_settings["dbname"] = "%(mysql_database)s"; $net2ftp_settings["dbserver"] = "%(mysql_host)s"; // on many configurations, this is "localhost" // Switch different types of logs on or off $net2ftp_settings["log_access"] = "yes"; $net2ftp_settings["log_error"] = "yes"; // Delete logs which are older than X days automatically $net2ftp_settings["log_length_days"] = 31; // number of days // ---------------------------------------------------------------------------------- // Logging to the system logger // ---------------------------------------------------------------------------------- $net2ftp_settings["use_syslog"] = "no"; $net2ftp_settings["syslog_priority"] = LOG_NOTICE; $net2ftp_settings["syslog_facility"] = LOG_MAIL; $net2ftp_settings["syslog_ident"] = "net2ftp"; // ---------------------------------------------------------------------------------- // Files bigger than this limit will be excluded from: // upload, download, copy, move, search, view, edit // ---------------------------------------------------------------------------------- $net2ftp_settings["max_filesize"] = "10000000"; // in Bytes, default 10 MB // Note: IF YOU WANT TO ALLOW LARGE FILE UPLOADS, YOU MAY HAVE TO ADJUST // THE FOLLOWING PARAMETERS: // 1 - in the file php.ini: upload_max_filesize, post_max_size, // max_execution_time, memory_limit // 2 - in the file php.conf: LimitRequestBody // ---------------------------------------------------------------------------------- // Server resource consumption settings // ---------------------------------------------------------------------------------- // Switch consumption checking on or off $net2ftp_settings["check_consumption"] = "yes"; // Maximum data transfer volume per day (in Bytes) $net2ftp_settings["max_consumption_ipaddress_datatransfer"] = 50000000; // per IP address $net2ftp_settings["max_consumption_ftpserver_datatransfer"] = 50000000; // per FTP server // Maximum script execution time per day (in seconds) $net2ftp_settings["max_consumption_ipaddress_executiontime"] = 1500; // per IP address $net2ftp_settings["max_consumption_ftpserver_executiontime"] = 1500; // per FTP server // Maximum number of FTP servers that can be accessed per day $net2ftp_settings["max_consumption_ipaddress_nr_of_ftpservers"] = 50; // per IP address // Check the user's home directory? $net2ftp_settings["check_homedirectory"] = "yes"; // ---------------------------------------------------------------------------------- // DO NOT CHANGE ANYTHING BELOW THIS LINE // ---------------------------------------------------------------------------------- $net2ftp_settings["application_version"] = "0.98"; $net2ftp_settings["application_build_nr"] = "45"; // Is this net2ftp.com, or a net2ftp installation elsewhere $net2ftp_settings["net2ftpdotcom"] = "no"; // Google Adsense advertisements // Not shown when using HTTPS to avoid warnings on each pageload $net2ftp_settings["show_google_ads"] = "no"; ?>