<?

//=============================//
//                             //
//   phpRebel Uploader v0.1    //
//   phpRebel Uploader Config  //
//   Uploader.Class.php        //
//   by Stanga Razvan          //
//   razvan_stanga@yahoo.com   //
//   http://www.phprebel.org   //
//                             //
//       MADE IN ROMANIA       //
//                             //
//=============================//

$config = array ();

//-------------------
// Anounimous Acces ?
//-------------------

$config['anounimous'] = 0;

//------------------------------------
// Anounimous can create directories ?
//------------------------------------

$config['anounimousmkdir'] = 0;

//--------------------
// Users user/password
//--------------------

$config['users'] = array (
//----------------------------------------------
// do not delete this account, you can change
// the directory if you want to
//----------------------------------------------
//               user           =>  password
                
'anounimous'     => md5 uniqid time () ) ),
//----------------------------------------------
// add here your user accounts
//                 user              password
                
'demo'             => 'demo',
                
'demo1'         => 'demo1',
);

$config['usersdir'] = array (
//----------------------------------------------
// do not delete this account, you can change
// the directory if you want to
//----------------------------------------------
//               user           =>  directory
                
'anounimous'     => 'anounimous',
//----------------------------------------------
// add here your user accounts directories
//                       user           =>  directory
                
'demo'             => 'demo',
                
'demo1'         => 'demo1',
);

//----------------------
// Upload directory root
//----------------------

$config['uploaddirectory'] = 'uploader';

//--------------------------
// Allowed upload extensions
//--------------------------

$config['allowedextensions'] = array (
                
'jpg'              => 1,
                
'gif'              => 1,
                
'png'              => 1,
                
'zip'              => 1,
                
'rar'              => 1,
                
'ace'              => 1,
                
'xls'              => 1,
                
'pdf'              => 1,
                
'doc'              => 1,
);

//----------------
// Number of files
//----------------

$config['nrfiles'] = 20;

//----------------
// Admin File Name
//----------------

$config['filename'] = 'index.php';

//---------------
// Mailing option
//---------------

$config['mail'] = array (
                
'mail_active'               => 1,
                
'subject'              => 'phpUploader -> New File(s)',
                
'from_name'              => 'phpUploader',
                
'from_email'              => 'phpuploaderREMOVEME@phprebel.org',
                
'email_to'              => 'coolREMOVEME@computergames.ro',
);

//----------
// FTP Stuff
//----------

$config['ftp'] = array (
                
'ftp_active'              => 0,
                
'ftp_server'              => '',
                
'ftp_port'              => 21,
                
'ftp_user'              => '',
                
'ftp_pass'              => '',
);

//----------------
// Thumbnail width
//----------------

$config['thumbnail'] = 200;

//------------------
// Cookie Encode Key
//------------------

$config['cookieencode'] = 36;

//--------
// Cookies
//--------

$config['cookie'] = array (
                
'cookie_id'              => 'Uploader_',
                
'cookie_path'              => '/',
                
'cookie_domain'          => 'phprebel.org',
);

//--------------
// Start Version
//--------------

$config['version'] = '0.2';
 
?>