Gestion download au travers de premiumizeme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
835 B

<?php
define('DB_RWUSER', 'mydl');
define('DB_RWPASS', 'Rinhal3SwefVowsEj0');
define('DB_SERVER', '192.168.122.2');
define('DB_COLL', 'mydl');
/**
* Defini le repertoire temporaire ou seront stocke les downloads
*/
define('DOWNLOADINGDIR', dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'downloading');
/**
* Defini le repertoire definitif ou seront stocke les downloads
*/
define('DOWNLOADEDDIR', dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'downloaded');
/**
* Defini l'endroit ou se trouve le lock pour les download
*/
define('DOWNLOADLOCK', DOWNLOADINGDIR.DIRECTORY_SEPARATOR.'lock');
include dirname(__FILE__).'/../lib/DbMongo.php';
include dirname(__FILE__).'/../lib/Download.php';
include dirname(__FILE__).'/../lib/PremiumizeMe.php';
include dirname(__FILE__).'/../lib/Stream.php';