[Openupload-svn-update] SF.net SVN: openupload:[200] trunk/www/config.inc.php.example
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2008-12-12 16:03:34
|
Revision: 200
http://openupload.svn.sourceforge.net/openupload/?rev=200&view=rev
Author: tsdogs
Date: 2008-12-12 16:03:29 +0000 (Fri, 12 Dec 2008)
Log Message:
-----------
update sample config file with additional options
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2008-12-12 15:50:45 UTC (rev 199)
+++ trunk/www/config.inc.php.example 2008-12-12 16:03:29 UTC (rev 200)
@@ -25,8 +25,11 @@
* it can be used when no database is available
*/
-/* MYSQL Database */
+/* MYSQL / POSTGRES Database */
+#$CONFIG['database']['type']='pgsql';
$CONFIG['database']['type']='mysql';
+
+/* Detail for dbconnection */
$CONFIG['database']['host']='localhost';
$CONFIG['database']['user']='databaseuser';
$CONFIG['database']['password']='databasepwd';
@@ -46,7 +49,8 @@
/* TRANSLATION MODULE */
-//$CONFIG['translator']='gettext';
+#$CONFIG['translator']='none';
+#$CONFIG['translator']='gettext';
$CONFIG['translator']='phparray';
$CONFIG['defaultlang']='en';
@@ -103,12 +107,6 @@
# $CONFIG['ldap']['gid']='distinguishedname';
# $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' => 'description' );
-/* UPLOAD PROGRESS: specify the type
- * Requires php extensions to be installed
- */
-# $CONFIG['progress'] = 'apc';
-# $CONFIG['progress'] = 'uploadprogress';
-$CONFIG['progress']='none';
/* PLUGINS: here you enable the plugins
* they will need to enable the functionality
@@ -118,6 +116,9 @@
$CONFIG['plugins'][] = 'email';
$CONFIG['plugins'][] = 'password';
$CONFIG['plugins'][] = 'captcha';
+$CONFIG['plugins'][] = 'filesize';
+$CONFIG['plugins'][] = 'expire';
+$CONFIG['plugins'][] = 'compress';
/* Set maximum default upload size in MB*/
$CONFIG['max_upload_size']=100;
@@ -125,6 +126,30 @@
/* Set the maximum time (in minutes) a download should take (putting it to 0 will disable the timeout, but it's not suggested) */
$CONFIG['max_download_time']=120;
+/* Set the number of files to be uploaded in 1 time */
+$CONFIG['multiupload'] = '1';
+
+/* Set the progress upload method to be used */
+/* requires an extension (APC or UPLOADPROGRESS */
+/* possible values are: none, uploadprogress, apc */
+$CONFIG['progress'] = 'none';
+
+/* Logging of the application */
+$CONFIG['logging']['enabled'] = 'yes';
+
+/* Level of logging to the database table */
+/* 0 = none */
+/* 1 = errors */
+/* 2 = security */
+/* 3 = warnings */
+/* 4 = statistics */
+/* 5 = info */
+/* 6 = debug */
+$CONFIG['logging']['db_level'] = '4';
+
+/* Level of logging to syslog */
+$CONFIG['logging']['syslog_level'] = '0';
+
/* if registration is enabled confirm it by e-amil ? */
$CONFIG['registration']['email_confirm']='yes';
@@ -141,7 +166,6 @@
/* registered user by default */
$CONFIG['register']['default_group']='registered';
-
/* SITE STYLE */
$CONFIG['site']['template'] = 'default';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|