Added the ability to add download extension and control the download size.

This commit is contained in:
Loic d'Anterroches
2009-02-16 18:04:03 +01:00
parent 9cd2d1c4ef
commit 75ec32765c
2 changed files with 11 additions and 1 deletions

View File

@@ -159,6 +159,13 @@ $cfg['db_table_prefix'] = 'indefero_';
$cfg['db_engine'] = 'PostgreSQL'; # SQLite is also well tested or MySQL
$cfg['db_database'] = 'website'; # put absolute path to the db if you
# are using SQLite.
#
# The extension of the downloads are limited. You can add extra
# extensions here.
# $cfg['idf_extra_upload_ext'] = 'ext1 ext2';
#
# By default, the size of the downloads is limited to 2MB.
# $cfg['max_upload_size'] = 2097152; // Size in bytes
# -- From this point you should not need to update anything. --
$cfg['pear_path'] = '/usr/share/php';